|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.metanotion.util.Pair<A,B>
public final class Pair<A,B>
| Field Summary | |
|---|---|
A |
a
|
B |
b
|
| Constructor Summary | |
|---|---|
Pair(A first,
B second)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
A |
getKey()
|
B |
getValue()
|
int |
hashCode()
|
B |
setValue(B value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public A a
public B b
| Constructor Detail |
|---|
public Pair(A first,
B second)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entry<A,B>equals in class java.lang.Objectpublic A getKey()
getKey in interface java.util.Map.Entry<A,B>public B getValue()
getValue in interface java.util.Map.Entry<A,B>public int hashCode()
hashCode in interface java.util.Map.Entry<A,B>hashCode in class java.lang.Objectpublic B setValue(B value)
setValue in interface java.util.Map.Entry<A,B>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||