Package generic.stl
Class Pair<T1,T2>
- java.lang.Object
-
- generic.stl.Pair<T1,T2>
-
- Direct Known Subclasses:
DominantPair
public class Pair<T1,T2> extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T1,T2>
Pair<T1,T2>emptyPair()
boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
emptyPair
public static <T1,T2> Pair<T1,T2> emptyPair()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-