org.apache.cassandra.utils
Class Pair<T1,T2>
java.lang.Object
org.apache.cassandra.utils.Pair<T1,T2>
public class Pair<T1,T2>
- extends java.lang.Object
Constructor Summary |
Pair(T1 left,
T2 right)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
left
public final T1 left
right
public final T2 right
Pair
public Pair(T1 left,
T2 right)
hashCode
public final int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
create
public static <X,Y> Pair<X,Y> create(X x,
Y y)
Copyright © 2010 The Apache Software Foundation