soot.util
Class IterableSet
java.lang.Object
|
+--java.util.AbstractCollection
|
+--soot.util.HashChain
|
+--soot.util.IterableSet
- All Implemented Interfaces:
- Chain, java.util.Collection, java.io.Serializable, java.util.Set
- public class IterableSet
- extends HashChain
- implements java.util.Set
- See Also:
- Serialized Form
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 |
Methods inherited from interface java.util.Set |
addAll, clear, contains, containsAll, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray |
IterableSet
public IterableSet(java.util.Collection c)
IterableSet
public IterableSet()
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