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.


Constructor Index

 o UpdatableMapImpl()
Initialize at version 0, an empty count, and null screener
 o UpdatableMapImpl(Predicate)
Initialize at version 0, an empty count, and supplied screener

Method Index

 o aKeyOf(Object)
Return a key associated with element.
 o at(Object)
Return the element associated with Key key.
 o canIncludeKey(Object)
Implements collections.Map.canIncludeKey.
 o checkKey(Object)
Principal method to throw a IllegalElementException for keys
 o includesAt(Object, Object)
Report whether there exists a (key, value) pair
 o includesKey(Object)
Report whether there exists any element with Key key.
 o keys()
Return an enumeration that may be used to traverse through the keys (not elements) of the collection.
 o 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.
 o puttingAt(Object, Object)
Implements collections.Map.puttingAt.
 o removeAt(Object)
Remove the pair with the given key
 o removingAt(Object)
Implements collections.Map.removingAt
 o replaceElement(Object, Object, Object)
Replace old pair with new pair with same key.

Constructors

 o UpdatableMapImpl
 protected UpdatableMapImpl()
Initialize at version 0, an empty count, and null screener

 o UpdatableMapImpl
 protected UpdatableMapImpl(Predicate screener)
Initialize at version 0, an empty count, and supplied screener

Methods

 o puttingAt
 public synchronized Map puttingAt(Object key,
                                   Object element) throws IllegalElementException
Implements collections.Map.puttingAt.

See Also:
puttingAt
 o removingAt
 public synchronized Map removingAt(Object key)
Implements collections.Map.removingAt

See Also:
removingAt
 o canIncludeKey
 public boolean canIncludeKey(Object key)
Implements collections.Map.canIncludeKey. Default key-screen. Just checks for null.

See Also:
canIncludeKey
 o 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