|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.std.util.Tuple<U,V>
U - first object classV - second object classpublic class Tuple<U,V>
provides a convenient way to couple together any two objects with type safety
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
Tuple(U u,
V v)
creates a new Tuple with the given and unchangeable elements |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
U |
getU()
|
V |
getV()
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public Tuple(U u,
V v)
u - first parameterv - second parameter| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic U getU()
public V getV()
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 | |||||||||