Package com.daml.ledger.javaapi.data
Class DamlCollectors
- java.lang.Object
-
- com.daml.ledger.javaapi.data.DamlCollectors
-
public final class DamlCollectors extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DamlCollectors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
toDamlList
public static <T> java.util.stream.Collector<T,java.util.List<Value>,DamlList> toDamlList(java.util.function.Function<T,Value> valueMapper)
-
toDamlList
public static java.util.stream.Collector<Value,java.util.List<Value>,DamlList> toDamlList()
-
toDamlTextMap
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)
-
toDamlTextMap
public static java.util.stream.Collector<java.util.Map.Entry<java.lang.String,Value>,java.util.Map<java.lang.String,Value>,DamlTextMap> toDamlTextMap()
-
toDamlGenMap
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)
-
toMap
public static java.util.stream.Collector<java.util.Map.Entry<Value,Value>,java.util.Map<Value,Value>,DamlGenMap> toMap()
-
-