org.apache.cassandra.cql.common
Class Pair<T,S>

java.lang.Object
  extended by org.apache.cassandra.cql.common.Pair<T,S>

public class Pair<T,S>
extends java.lang.Object

Generic for representing a "typed" 2-tuple.


Constructor Summary
Pair(T f, S s)
           
 
Method Summary
 T getFirst()
           
 S getSecond()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pair

public Pair(T f,
            S s)
Method Detail

getFirst

public T getFirst()

getSecond

public S getSecond()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 The Apache Software Foundation