| Modifier and Type | Method and Description |
|---|---|
static <A,B> Pair<A,B> |
Pair.of(A a,
B b)
Convenience method to create a pair.
|
| Modifier and Type | Method and Description |
|---|---|
static <S,T> com.google.common.base.Function<Pair<S,T>,S> |
Pair.first()
Creates a function that can extract the first item of pairs of the given type parametrization.
|
static <S,T> com.google.common.base.Function<Pair<S,T>,T> |
Pair.second()
Creates a function that can extract the second item of pairs of the given type parametrization.
|