Package org.maproulette.client.utilities
Class Tuple<X,Y>
- java.lang.Object
-
- org.maproulette.client.utilities.Tuple<X,Y>
-
- Type Parameters:
X- The first object type that will be stored in the TupleY- The second object type that will be stored in the Tuple
public class Tuple<X,Y> extends java.lang.ObjectA basic Tuple class
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)XgetFirst()YgetSecond()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getFirst
public X getFirst()
-
getSecond
public Y getSecond()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-