java.lang.Object
org.elasticsearch.common.collect.MapBuilder<K,V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuild an immutable copy of the map under construction.map()
static <K,
V> MapBuilder<K, V> static <K,
V> MapBuilder<K, V> newMapBuilder
(Map<K, V> map) MapBuilder<K,
V> MapBuilder<K,
V> MapBuilder<K,
V>
-
Constructor Details
-
MapBuilder
public MapBuilder() -
MapBuilder
-
-
Method Details
-
newMapBuilder
-
newMapBuilder
-
putAll
-
put
-
remove
-
map
-
immutableMap
Build an immutable copy of the map under construction. Always copies the map under construction. Prefer building a HashMap by hand and wrapping it in an unmodifiableMap
-