Class BuilderMap<K,​B,​V>

    • Constructor Summary

      Constructors 
      Constructor Description
      BuilderMap​(java.util.function.Supplier<B> builderSupplier, java.util.function.BiConsumer<B,​V> buildUpAction)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(K key, V value)  
      java.util.Set<java.util.Map.Entry<K,​B>> entrySet()  
      B get​(K key)  
      java.util.Map<K,​B> getMap()  
      • Methods inherited from class java.lang.Object

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

      • BuilderMap

        public BuilderMap​(java.util.function.Supplier<B> builderSupplier,
                          java.util.function.BiConsumer<B,​V> buildUpAction)
    • Method Detail

      • add

        public void add​(K key,
                        V value)
      • get

        public B get​(K key)
      • entrySet

        public java.util.Set<java.util.Map.Entry<K,​B>> entrySet()
      • getMap

        public java.util.Map<K,​B> getMap()