Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DamlCollectors

        public DamlCollectors()
    • 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)