    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class collections.IncrMap

    java.lang.Object
       |
       +----collections.IncrImpl
               |
               +----collections.IncrMap

public final class IncrMap
extends IncrImpl
implements Map

Implementation of Immutable Map

##

IncrMap()
  Make a new pure map using the default underlying Map implementation
IncrMap(UpdatableMap)
  Make a pure map managing the given updatable map s.

##

aKeyOf(Object)
  Implements collections.Map.aKeyOf.
at(Object)
  Implements collections.Map.at.
canIncludeKey(Object)
  Implements collections.Map.canIncludeKey.
clone()
  Make a copy.
doEdit(UpdatableCollection)
  Perform updates within an edit chain
excluding(Object)
  Implements collections.Collection.excluding.
includesAt(Object, Object)
  Implements collections.Map.includesAt.
includesKey(Object)
  Implements collections.Map.includesKey.
keys()
  Implements collections.Map.keys.
puttingAt(Object, Object)
  Implements collections.Map.puttingAt.
removingAt(Object)
  Implements collections.Map.removingAt
removingOneOf(Object)
  Implements collections.Collection.removingOneOf
replacingAllOf(Object, Object)
  Implements collections.Collection.replacingAllOf If more than one occurrence of element exists, it makes a full, non-lazy copy.
replacingOneOf(Object, Object)
  Implements collections.Collection.replacingOneOf

##

IncrMap

     public IncrMap()

  Make a new pure map using the default underlying Map implementation

IncrMap

     public IncrMap(UpdatableMap s)

  Make a pure map managing the given updatable map s. Warning: Do not modify s during the the lifetime of the constructed pure map!

##

clone

     protected Object clone() throws CloneNotSupportedException

  Make a copy. Uses lazy update.

  Overrides:
    clone in class Object

canIncludeKey

     public boolean canIncludeKey(Object key)

  Implements collections.Map.canIncludeKey.

  See Also:
    canIncludeKey

includesKey

     public synchronized boolean includesKey(Object key)

  Implements collections.Map.includesKey.

  See Also:
    includesKey

includesAt

     public synchronized boolean includesAt(Object key,
                                            Object value)

  Implements collections.Map.includesAt.

  See Also:
    includesAt

at

     public synchronized Object at(Object key) throws NoSuchElementException

  Implements collections.Map.at.

  See Also:
    at

aKeyOf

     public synchronized Object aKeyOf(Object element)

  Implements collections.Map.aKeyOf.

  See Also:
    aKeyOf

keys

     public synchronized CollectionEnumeration keys()

  Implements collections.Map.keys.

  See Also:
    keys

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

removingOneOf

     public synchronized Collection removingOneOf(Object element)

  Implements collections.Collection.removingOneOf

  Overrides:
    removingOneOf in class IncrImpl
  See Also:
    removingOneOf

excluding

     public synchronized Collection excluding(Object element)

  Implements collections.Collection.excluding. If more than one occurrence of element exists, it makes a full, non-lazy copy.

  Overrides:
    excluding in class IncrImpl
  See Also:
    excluding

replacingAllOf

     public synchronized Collection replacingAllOf(Object oldElement,
                                                   Object newElement) throws IllegalElementException

  Implements collections.Collection.replacingAllOf If more than one occurrence of element exists, it makes a full, non-lazy copy.

  Overrides:
    replacingAllOf in class IncrImpl
  See Also:
    replacingAllOf

replacingOneOf

     public synchronized Collection replacingOneOf(Object oldElement,
                                                   Object newElement) throws IllegalElementException

  Implements collections.Collection.replacingOneOf

  Overrides:
    replacingOneOf in class IncrImpl
  See Also:
    replacingOneOf

doEdit

     protected synchronized UpdatableCollection doEdit(UpdatableCollection c)

  Perform updates within an edit chain

  Overrides:
    doEdit in class IncrImpl

    All Packages  Class Hierarchy  This Package  Previous  Next  Index