Constructor and Description |
---|
Pair(F first,
S second)
Create a pair with the given objects
|
public F getFirst()
public S getSecond()
public static <F,S> Pair<F,S> make(F first, S second)
F
- the type of the first element in the pairS
- the type of the second elementfirst
- the first objectsecond
- the second objectpublic int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a