|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectPair<T,U>
public class Pair<T,U>
Copy of C++ STL pair container.
| Field Summary | |
|---|---|
T |
first
|
U |
second
|
| Constructor Summary | |
|---|---|
Pair(T f,
U s)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public T first
public U second
| Constructor Detail |
|---|
public Pair(T f,
U s)
f - First element in pair.s - Second element in pair.| Method Detail |
|---|
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||