K - the type of keys maintained by this mapV - the type of mapped valuespublic class MapBuilder<K,V>
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
MapBuilder |
add(K key,
V value) |
java.util.Map<K,V> |
build() |
public MapBuilder add(K key, V value)