Package com.airbnb.lottie.model
Class MutablePair<T>
- java.lang.Object
-
- com.airbnb.lottie.model.MutablePair<T>
-
- Type Parameters:
T-
public class MutablePair<T> extends java.lang.ObjectNon final version ofPair
-
-
Constructor Summary
Constructors Constructor Description MutablePair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Checks the two objects for equality by delegating to their respectiveObject.equals(Object)methods.inthashCode()Compute a hash code using the hash codes of the underlying objectsvoidset(T first, T second)java.lang.StringtoString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
Checks the two objects for equality by delegating to their respectiveObject.equals(Object)methods.- Overrides:
equalsin classjava.lang.Object- Parameters:
o- thePairto which this one is to be checked for equality- Returns:
- true if the underlying objects of the Pair are both considered equal
-
hashCode
public int hashCode()
Compute a hash code using the hash codes of the underlying objects- Overrides:
hashCodein classjava.lang.Object- Returns:
- a hashcode of the Pair
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-