Package io.scanbot.sdk.utils
Class MapBuilder<K,V>
- java.lang.Object
-
- io.scanbot.sdk.utils.MapBuilder<K,V>
-
- Type Parameters:
K- Key typeV- Value type
public class MapBuilder<K,V> extends java.lang.ObjectHelper class to build HashMaps in a builder pattern style.
-
-
Constructor Summary
Constructors Constructor Description MapBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.HashMap<K,V>build()Builds the map.MapBuilder<K,V>put(K key, V value)Puts a key-value pair into the map.
-