public class IdentityPair<T,U>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
hashCode |
protected T |
o1 |
protected U |
o2 |
| Constructor and Description |
|---|
IdentityPair(T o1,
U o2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
T |
getO1() |
U |
getO2() |
int |
hashCode() |
java.lang.String |
toString() |
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic T getO1()
public U getO2()
public java.lang.String toString()
toString in class java.lang.Object