|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.utils.Pair
public class Pair
Utility class for storing two pieces of information together.
Constructor Summary | |
---|---|
Pair()
|
|
Pair(java.lang.Object first,
java.lang.Object second)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object that)
Test equality of this object with that. |
java.lang.Object |
getFirst()
Get the first object in the pair. |
java.lang.Object |
getSecond()
Get the second object in the pair. |
int |
hashCode()
|
void |
setFirst(java.lang.Object first)
Set the value of the first object in the pair. |
void |
setSecond(java.lang.Object second)
Set the second object in the pair. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pair()
public Pair(java.lang.Object first, java.lang.Object second)
Method Detail |
---|
public final java.lang.Object getFirst()
Get the first object in the pair.
public final void setFirst(java.lang.Object first)
Set the value of the first object in the pair.
first
- the first objectpublic final java.lang.Object getSecond()
Get the second object in the pair.
public final void setSecond(java.lang.Object second)
Set the second object in the pair.
second
- the second objectpublic boolean equals(java.lang.Object that)
Test equality of this object with that.
equals
in class java.lang.Object
that
- object to compare
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |