K - the map key typeV - the map value typepublic class MapBuilder<K,V> extends Object
| Constructor and Description |
|---|
MapBuilder(Map<K,V> state) |
| Modifier and Type | Method and Description |
|---|---|
MapBuilder<K,V> |
add(K key,
V value) |
MapBuilder<K,V> |
add(Map<K,? extends V> map) |
Map<K,V> |
toMap() |
Map<K,V> |
toUnmodifiableMap() |
Copyright © 2016. All rights reserved.