|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dtolabs.rundeck.core.utils.PairImpl<T,W>
public class PairImpl<T,W>
Pair implementation that disallows nulls, and provides setters.
Constructor Summary | |
---|---|
PairImpl(T first,
W second)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
T |
getFirst()
Return the first item |
W |
getSecond()
Return the second item |
int |
hashCode()
|
void |
setFirst(T first)
Set first item |
void |
setSecond(W second)
Set second item |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PairImpl(T first, W second)
Method Detail |
---|
public T getFirst()
Pair
getFirst
in interface Pair<T,W>
public void setFirst(T first)
public W getSecond()
Pair
getSecond
in interface Pair<T,W>
public void setSecond(W second)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
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 |