org.tm4j.utils
Class SetChain

java.lang.Object
  extended byorg.tm4j.utils.CollectionChain
      extended byorg.tm4j.utils.SetChain
All Implemented Interfaces:
java.util.Collection, java.util.Set

public class SetChain
extends CollectionChain
implements java.util.Set

A CollectionChain derivative which is flagged as a set. NOTE: Currently this implementation DOES NOT enforce set semantics on its contents. It is merely a convenience wrapper to allow a CollectionChain to be used where a Set is expected. The calling application should ensure that the Set objects added to this object are disjoint sets.


Constructor Summary
SetChain()
           
 
Method Summary
 void addCollection(java.util.Collection c)
           
 void addSet(java.util.Set s)
           
 
Methods inherited from class org.tm4j.utils.CollectionChain
add, addAll, clear, contains, containsAll, equals, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

SetChain

public SetChain()
Method Detail

addSet

public void addSet(java.util.Set s)

addCollection

public void addCollection(java.util.Collection c)
Overrides:
addCollection in class CollectionChain