Class DamlCollectors


  • public final class DamlCollectors
    extends java.lang.Object
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)