Package | Description |
---|---|
com.perforce.p4java.common.base | |
com.perforce.p4java.common.quantity | |
com.perforce.p4java.impl.mapbased.server.cmd |
Modifier and Type | Method and Description |
---|---|
static <T,R> Function<T,R> |
P4JavaExceptions.rethrowFunction(FunctionWithException<T,R> function) |
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.
|
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
ResultListBuilder.buildNonNullObjectListFromCommandResultMaps(List<Map<String,Object>> resultMaps,
Function<Map,T> construct) |
static <T> List<T> |
ResultListBuilder.buildNonNullObjectListFromNonMessageCommandResultMaps(List<Map<String,Object>> resultMaps,
Function<Map,T> construct) |
static <T> T |
ResultListBuilder.buildNullableObjectFromNonInfoMessageCommandResultMaps(List<Map<String,Object>> resultMaps,
Function<Map,T> construct) |
Copyright © 2017 Perforce Software. All Rights Reserved.