Retrieves the value which is associated with the given key.
Retrieves the value which is associated with the given key. This
method invokes the default
method of the index if there is no mapping
from the given key to an id. Unless overridden, the default
method throws a
NoSuchElementException
.
the key
the value associated with the given key, or the result of the
map's default
method, if none exists.
Tests whether this index contains a binding for a key.
Tests whether this index contains a binding for a key.
the key
true
if there is a binding for key
in this index, false
otherwise.
Defines the default value computation for the map, returned when a key is not found The method implemented here throws an exception, but it might be overridden in subclasses.
Defines the default value computation for the map, returned when a key is not found The method implemented here throws an exception, but it might be overridden in subclasses.
the given key value for which a binding is missing.
Returns all of the current aggregate id key entries.
Returns all of the current aggregate id key entries.
a map containing the aggregate ids and associated keys.
Optionally returns the aggregate id associated with a key.
Optionally returns the aggregate id associated with a key.
the key aggregate id
an option value containing the aggregate id associated with key in this map, or None if none exists.
[use case]
the key.
a computation that yields a default aggregate id in case no binding for key
is
found in the index.
the aggregate value associated with key
if it exists, otherwise the result of the default
computation.
Tests whether this index contains a binding for a key.
Tests whether this index contains a binding for a key. This method,
which implements an abstract method of trait PartialFunction
,
is equivalent to contains
.
the key
true
if there is a binding for key
in this map, false
otherwise.
Created by damonrolfs on 11/5/14.