|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.util.Pair<F,S>
F
- the type of the first objectS
- the type of the second object@Immutable public class Pair<F,S>
An object pair
Constructor Summary | |
---|---|
Pair(F first,
S second)
Create a pair with the given objects |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
F |
getFirst()
Get the first object |
S |
getSecond()
Get the second object |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pair(F first, S second)
first
- the first objectsecond
- the second objectMethod Detail |
---|
public F getFirst()
public S getSecond()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(Object)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |