Module org.elasticsearch.server
Package org.elasticsearch.common.collect
Class ImmutableOpenMap.Builder<KType,VType>
java.lang.Object
org.elasticsearch.common.collect.ImmutableOpenMap.Builder<KType,VType>
- Enclosing class:
ImmutableOpenMap<KType,
VType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a new ImmutableOpenMap from this builder.void
clear()
boolean
containsKey
(KType key) A put operation that can be used in the fluent pattern.getOrDefault
(KType kType, VType vType) keys()
putAllFromMap
(Map<KType, VType> map) Puts all the entries in the map to the builder.int
removeAll
(BiPredicate<? super KType, ? super VType> predicate) int
size()
-
Constructor Details
-
Builder
public Builder() -
Builder
public Builder(int size) -
Builder
-
-
Method Details
-
build
Builds a new ImmutableOpenMap from this builder. -
putAllFromMap
Puts all the entries in the map to the builder. -
fPut
A put operation that can be used in the fluent pattern. -
put
-
get
-
getOrDefault
-
remove
-
containsKey
-
size
public int size() -
clear
public void clear() -
keys
-
removeAll
-