Class MapBuilder<B extends MapBuilder<B,​K,​V>,​K,​V>

  • Type Parameters:
    B - the builder type.
    K - the key type.
    V - the value type.
    Direct Known Subclasses:
    ArgumentBuilder

    public class MapBuilder<B extends MapBuilder<B,​K,​V>,​K,​V>
    extends java.lang.Object
    A Builder pattern implementation for a Map.
    Since:
    2.0
    Author:
    Artem Bilan, Gary Russell
    • Constructor Summary

      Constructors 
      Constructor Description
      MapBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected B _this()  
      java.util.Map<K,​V> get()  
      B 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

      • put

        public B put​(K key,
                     V value)
      • get

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

        protected final B _this()