Class MapBuilder<K,​V>

  • Type Parameters:
    K - the key type
    V - the value type

    public class MapBuilder<K,​V>
    extends java.lang.Object
    Builder for immutable maps.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<K,​V> get()  
      MapBuilder<K,​V> put​(K key, V value)  
      • Methods inherited from class java.lang.Object

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

      • MapBuilder

        public MapBuilder()
    • Method Detail

      • get

        public java.util.Map<K,​V> get()