@Deprecated public abstract class Pairs extends Object
Tuples
instead.Modifier and Type | Method and Description |
---|---|
static boolean |
equal(Pair<?,?> p,
Pair<?,?> q)
Deprecated.
|
static <A,B> Pair<B,A> |
flip(Pair<? extends A,? extends B> p)
Deprecated.
|
static <A,B> Function<Pair<A,B>,A> |
getLeft()
Deprecated.
|
static <A,B> Function<Pair<A,B>,B> |
getRight()
Deprecated.
|
static int |
hashCode(Pair<?,?> p)
Deprecated.
|
static <A,B> BinFunction<A,B,Pair<A,B>> |
pair()
Deprecated.
|
static <A,B> Pair<A,B> |
pair(A a,
B b)
Deprecated.
|
public static <A,B> Pair<A,B> pair(A a, B b)
public static int hashCode(Pair<?,?> p)
public static <A,B> BinFunction<A,B,Pair<A,B>> pair()
see also the complete user documentation .