public class Bi<A,B>
extends java.lang.Object
Pair
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
A |
getItem1()
Returns this object's first item.
|
B |
getItem2()
Returns this object's second item.
|
int |
hashCode() |
java.lang.String |
toString() |
public A getItem1()
public B getItem2()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object