public final class DamlCollectors
extends java.lang.Object
Constructor and Description |
---|
DamlCollectors() |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.stream.Collector<T,java.util.Map<Value,Value>,DamlGenMap> |
toDamlGenMap(java.util.function.Function<T,Value> keyMapper,
java.util.function.Function<T,Value> valueMapper) |
static java.util.stream.Collector<Value,java.util.List<Value>,DamlList> |
toDamlList() |
static <T> java.util.stream.Collector<T,java.util.List<Value>,DamlList> |
toDamlList(java.util.function.Function<T,Value> valueMapper) |
static java.util.stream.Collector<java.util.Map.Entry<java.lang.String,Value>,java.util.Map<java.lang.String,Value>,DamlTextMap> |
toDamlTextMap() |
static <T> java.util.stream.Collector<T,java.util.Map<java.lang.String,Value>,DamlTextMap> |
toDamlTextMap(java.util.function.Function<T,java.lang.String> keyMapper,
java.util.function.Function<T,Value> valueMapper) |
static java.util.stream.Collector<java.util.Map.Entry<Value,Value>,java.util.Map<Value,Value>,DamlGenMap> |
toMap() |
public static <T> java.util.stream.Collector<T,java.util.List<Value>,DamlList> toDamlList(java.util.function.Function<T,Value> valueMapper)
public static java.util.stream.Collector<Value,java.util.List<Value>,DamlList> toDamlList()
public static <T> java.util.stream.Collector<T,java.util.Map<java.lang.String,Value>,DamlTextMap> toDamlTextMap(java.util.function.Function<T,java.lang.String> keyMapper, java.util.function.Function<T,Value> valueMapper)
public static java.util.stream.Collector<java.util.Map.Entry<java.lang.String,Value>,java.util.Map<java.lang.String,Value>,DamlTextMap> toDamlTextMap()
public static <T> java.util.stream.Collector<T,java.util.Map<Value,Value>,DamlGenMap> toDamlGenMap(java.util.function.Function<T,Value> keyMapper, java.util.function.Function<T,Value> valueMapper)
public static java.util.stream.Collector<java.util.Map.Entry<Value,Value>,java.util.Map<Value,Value>,DamlGenMap> toMap()