org.apache.shindig.common
Class Pair<T1,T2>
java.lang.Object
org.apache.shindig.common.Pair<T1,T2>
public class Pair<T1,T2>
- extends Object
A pair of any two objects.
|
Constructor Summary |
Pair(T1 one,
T2 two)
|
|
Method Summary |
static
|
of(T1 one,
T2 two)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
one
public final T1 one
two
public final T2 two
Pair
public Pair(T1 one,
T2 two)
of
public static <T1,T2> Pair<T1,T2> of(T1 one,
T2 two)
Copyright © 2007-2012. All Rights Reserved.