Package | Description |
---|---|
com.perforce.p4java.common.quantity |
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> 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> Function<Pair<S,T>,T> |
Pair.second()
Creates a function that can extract the second item of pairs of the given type parametrization.
|
Copyright © 2017 Perforce Software. All Rights Reserved.