|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tm4j.utils.CollectionChain org.tm4j.utils.SetChain
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 |
public SetChain()
Method Detail |
public void addSet(java.util.Set s)
public void addCollection(java.util.Collection c)
addCollection
in class CollectionChain
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |