Package org.robolectric.util
Class Pair<F,S>
- java.lang.Object
-
- org.robolectric.util.Pair<F,S>
-
- Type Parameters:
F- First type.S- Second type.
public class Pair<F,S> extends java.lang.ObjectContainer to ease passing around a tuple of two objects.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <A,B>
Pair<A,B>create(A a, B b)booleanequals(java.lang.Object o)inthashCode()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
create
public static <A,B> Pair<A,B> create(A a, B b)
-
-