Returns an object stored under the specified id
, or null
.
Returns an object stored under the specified name, or null
.
Compute and return a unique id.
Attempts to release the specified name.
Attempts to release the specified name.
the name under which an object was stored
true
if released, false
otherwise
Releases the object under the specified id.
Releases the object under the specified id.
the unique id of the object
true
if released, false
otherwise
Attempt to store the value x
with the proposedName
.
Attempt to store the value x
with the proposedName
.
Returns the name under which x
is stored. If the name is not available, returns
null
and does not store the object.
the proposed name, or null
to assign any name
the object
name under which x
was stored
IllegalArgumentException
if the proposed name already
exists in the map
Stores
Identifiable
objects along with their unique names.