android.util
Class Pair<F,S>

java.lang.Object
  extended by android.util.Pair<F,S>

public class Pair<F,S>
extends Object


Field Summary
 F first
           
 S second
           
 
Constructor Summary
Pair(F first, S second)
           
 
Method Summary
static
<A,B> Pair<A,B>
create(A a, B b)
           
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

first

public final F first

second

public final S second
Constructor Detail

Pair

public Pair(F first,
            S second)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

create

public static <A,B> Pair<A,B> create(A a,
                                     B b)


Copyright © 2008-2012. All Rights Reserved.