public class Pair<V1,V2>
extends java.lang.Object
TODO: as class is immutable, use @Covariant annotation.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static <V1,V2> Pair<V1,V2> |
of(V1 v1,
V2 v2) |
java.lang.String |
toString() |
public static <V1,V2> Pair<V1,V2> of(V1 v1, V2 v2)
@SideEffectFree public java.lang.String toString()
toString
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object