    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class collections.IncrSet

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

public final class IncrSet
extends IncrImpl
implements Set

Implementation of pure set

##

IncrSet()
  Make a new pure set using the default underlying Set implementation
IncrSet(UpdatableSet)
  Make a pure set managing the given updatable set s.

##

clone()
  Make a copy.
doEdit(UpdatableCollection)
  Perform updates within an edit chain
excluding(Object)
  Implements collections.Collection.excluding.
including(Object)
  Implements collections.Set.including
removingOneOf(Object)
  Implements collections.Collection.removingOneOf
replacingAllOf(Object, Object)
  Implements collections.Collection.replacingAllOf
replacingOneOf(Object, Object)
  Implements collections.Collection.replacingOneOf

##

IncrSet

     public IncrSet()

  Make a new pure set using the default underlying Set implementation

IncrSet

     public IncrSet(UpdatableSet s)

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

##

clone

     protected Object clone() throws CloneNotSupportedException

  Make a copy. Uses lazy update.

  Overrides:
    clone in class Object

including

     public synchronized Set including(Object element) throws IllegalElementException

  Implements collections.Set.including

  See Also:
    including

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.

  Overrides:
    excluding in class IncrImpl
  See Also:
    excluding

replacingOneOf

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

  Implements collections.Collection.replacingOneOf

  Overrides:
    replacingOneOf in class IncrImpl
  See Also:
    replacingOneOf

replacingAllOf

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

  Implements collections.Collection.replacingAllOf

  Overrides:
    replacingAllOf in class IncrImpl
  See Also:
    replacingAllOf

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