Package org.jivesoftware.smack.util
Class Pair<F,S>
- java.lang.Object
-
- org.jivesoftware.smack.util.Pair<F,S>
-
public final class Pair<F,S> extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <F,S>
Pair<F,S>create(F first, S second)
static <F,S>
Pair<F,S>createAndInitHashCode(F first, S second)
boolean
equals(java.lang.Object object)
F
getFirst()
S
getSecond()
int
hashCode()
-
-
-
Method Detail
-
createAndInitHashCode
public static <F,S> Pair<F,S> createAndInitHashCode(F first, S second)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
-