interface BiMultiMapBase.Builder<K,V,Tp>
undocumented
Implemented by: BiMultiMapBuilder<K,V,Tp,TpG>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
K | undocumented | ||
V | undocumented | ||
Tp | BiMultiMapBase.Types | BiMultiMapBase.Types | undocumented |
Properties
isEmpty
Returns true if there are no entries in the builder.
isEmpty
size
Returns the amount of entries in the builder.
size
Methods
add
Associates given key
with given value
in the builder.
add
key
with given value
in the builder.addEntries
Adds given entries
to the builder.
addEntries
entries
to the builder.build
Returns an immutable collection instance containing the entries in this builder.
build
forEach
Performs given function f
for each entry of the builder.
forEach
f
for each entry of the builder.getKeys
Returns a collection representing the keys currently associated with given value
.
getKeys
value
.getValues
Returns a collection representing the values currently associated with given key
.
getValues
key
.hasEntry
Returns true if the given key
value
entry is present in the builder.
hasEntry
key
value
entry is present in the builder.hasKey
Returns true if the given key
is present in the builder.
hasKey
key
is present in the builder.hasValue
Returns true if the given value
is present in the builder.
hasValue
value
is present in the builder.removeEntries
Removes the entries in the given entries
StreamSource
from the builder.
removeEntries
entries
StreamSource
from the builder.removeEntry
Removes the entry of given key
and value
from the builder.
removeEntry
key
and value
from the builder.removeKey
Removes the entries related to given key
from the builder.
removeKey
key
from the builder.removeKeys
Removes the entries related to the given keys
StreamSource
from the builder.
removeKeys
keys
StreamSource
from the builder.removeValue
Removes the entries related to given value
from the builder.
removeValue
value
from the builder.removeValues
Removes the entries related to the given values
StreamSource
from the builder.
removeValues
values
StreamSource
from the builder.setKeys
Sets the keys associated to given value
to the keys in the given keys
StreamSource.
setKeys
value
to the keys in the given keys
StreamSource.setValues
Sets the values associated to given key
to the values in the given values
StreamSource.
setValues
key
to the values in the given values
StreamSource.