soot.util
Class IterableSet

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--soot.util.HashChain
              |
              +--soot.util.IterableSet

public class IterableSet
extends HashChain
implements java.util.Set

See Also:
Serialized Form

Constructor Summary
IterableSet()
           
IterableSet(java.util.Collection c)
           
 
Method Summary
 boolean add(java.lang.Object o)
          Adds the given object to this HashChain.
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 IterableSet intersection(IterableSet other)
           
 boolean intersects(IterableSet other)
           
 boolean isStrictSubsetOf(IterableSet other)
           
 boolean isStrictSupersetOf(IterableSet other)
           
 boolean isSubsetOf(IterableSet other)
           
 boolean isSupersetOf(IterableSet other)
           
 boolean remove(java.lang.Object o)
          Removes the given object from this Chain.
 java.lang.String toString()
          Returns a textual representation of the contents of this Chain.
 IterableSet union(IterableSet other)
           
 
Methods inherited from class soot.util.HashChain
addFirst, addLast, clear, contains, containsAll, follows, getFirst, getLast, getPredOf, getSuccOf, insertAfter, insertAfter, insertBefore, insertBefore, iterator, iterator, iterator, listToHashChain, removeFirst, removeLast, size, snapshotIterator, snapshotIterator, swapWith, toList
 
Methods inherited from class java.util.AbstractCollection
addAll, isEmpty, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IterableSet

public IterableSet(java.util.Collection c)

IterableSet

public IterableSet()
Method Detail

add

public boolean add(java.lang.Object o)
Description copied from class: HashChain
Adds the given object to this HashChain.
Specified by:
add in interface java.util.Set
Overrides:
add in class HashChain

remove

public boolean remove(java.lang.Object o)
Description copied from interface: Chain
Removes the given object from this Chain.
Specified by:
remove in interface java.util.Set
Overrides:
remove in class HashChain

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Set
Overrides:
equals in class java.lang.Object

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

isSubsetOf

public boolean isSubsetOf(IterableSet other)

isSupersetOf

public boolean isSupersetOf(IterableSet other)

isStrictSubsetOf

public boolean isStrictSubsetOf(IterableSet other)

isStrictSupersetOf

public boolean isStrictSupersetOf(IterableSet other)

intersects

public boolean intersects(IterableSet other)

intersection

public IterableSet intersection(IterableSet other)

union

public IterableSet union(IterableSet other)

toString

public java.lang.String toString()
Description copied from class: HashChain
Returns a textual representation of the contents of this Chain.
Overrides:
toString in class HashChain