Class MapCollectors

java.lang.Object
org.jdbi.v3.core.collector.MapCollectors

public class MapCollectors extends Object
  • Constructor Details

    • MapCollectors

      private MapCollectors()
  • Method Details

    • toMap

      public static <K, V, M extends Map<K, V>> Collector<Map.Entry<K,V>,?,M> toMap(Supplier<M> mapFactory)
    • putEntry

      private static <K, V, M extends Map<K, V>> void putEntry(M map, Map.Entry<K,V> entry)
    • putEntry

      private static <K, V, M extends Map<K, V>> void putEntry(M map, K key, V value)
    • combine

      private static <K, V, M extends Map<K, V>> M combine(M a, M b)