All Packages Class Hierarchy This Package Previous Next Index
Class collections.UpdatableMapImpl
java.lang.Object
|
+----collections.UpdatableImpl
|
+----collections.UpdatableMapImpl
- public abstract class UpdatableMapImpl
- extends UpdatableImpl
- implements UpdatableMap
UpdatableMapImpl extends UpdatableImpl to provide
default implementations of some Map operations.
-
UpdatableMapImpl()
- Initialize at version 0, an empty count, and null screener
-
UpdatableMapImpl(Predicate)
- Initialize at version 0, an empty count, and supplied screener
-
aKeyOf(Object)
- Return a key associated with element.
-
at(Object)
- Return the element associated with Key key.
-
canIncludeKey(Object)
- Implements collections.Map.canIncludeKey.
-
checkKey(Object)
- Principal method to throw a IllegalElementException for keys
-
includesAt(Object, Object)
- Report whether there exists a (key, value) pair
-
includesKey(Object)
- Report whether there exists any element with Key key.
-
keys()
- Return an enumeration that may be used to traverse through
the keys (not elements) of the collection.
-
putAt(Object, Object)
- Include the indicated pair in the Map
If a different pair
with the same key was previously held, it is replaced by the
new pair.
-
puttingAt(Object, Object)
- Implements collections.Map.puttingAt.
-
removeAt(Object)
- Remove the pair with the given key
-
removingAt(Object)
- Implements collections.Map.removingAt
-
replaceElement(Object, Object, Object)
- Replace old pair with new pair with same key.
UpdatableMapImpl
protected UpdatableMapImpl()
- Initialize at version 0, an empty count, and null screener
UpdatableMapImpl
protected UpdatableMapImpl(Predicate screener)
- Initialize at version 0, an empty count, and supplied screener
puttingAt
public synchronized Map puttingAt(Object key,
Object element) throws IllegalElementException
- Implements collections.Map.puttingAt.
- See Also:
- puttingAt
removingAt
public synchronized Map removingAt(Object key)
- Implements collections.Map.removingAt
- See Also:
- removingAt
canIncludeKey
public boolean canIncludeKey(Object key)
- Implements collections.Map.canIncludeKey.
Default key-screen. Just checks for null.
- See Also:
- canIncludeKey
checkKey
protected void checkKey(Object key) throws IllegalElementException
- Principal method to throw a IllegalElementException for keys
All Packages Class Hierarchy This Package Previous Next Index