|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.utils.Pair<A,B>
A
- first item of pairB
- second item of pairpublic class Pair<A,B>
A simple Pair class
Field Summary | |
---|---|
A |
first
|
B |
second
|
Constructor Summary | |
---|---|
Pair(A first,
B second)
|
Method Summary | |
---|---|
int |
compareTo(Pair obj)
|
boolean |
equals(java.lang.Object o)
|
A |
getFirst()
|
B |
getSecond()
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final A first
public final B second
Constructor Detail |
---|
public Pair(A first, B second)
Method Detail |
---|
public A getFirst()
public B getSecond()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(Pair obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |