org.apache.shindig.common
Class Pair<T1,T2>

java.lang.Object
  extended by org.apache.shindig.common.Pair<T1,T2>

public class Pair<T1,T2>
extends Object

A pair of any two objects.


Field Summary
 T1 one
           
 T2 two
           
 
Constructor Summary
Pair(T1 one, T2 two)
           
 
Method Summary
static
<T1,T2> Pair<T1,T2>
of(T1 one, T2 two)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

one

public final T1 one

two

public final T2 two
Constructor Detail

Pair

public Pair(T1 one,
            T2 two)
Method Detail

of

public static <T1,T2> Pair<T1,T2> of(T1 one,
                                     T2 two)


Copyright © 2007-2012. All Rights Reserved.