|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.util.Pair<T,U>
public class Pair<T,U>
Utility class used to pair two objects.
Constructor Summary | |
---|---|
Pair(T o1,
U o2)
Create a pair instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
T |
first()
|
int |
hashCode()
|
U |
second()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Pair(T o1, U o2)
o1
- the first member of the pairo2
- the second member of the pairMethod Detail |
---|
public T first()
public U second()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |