soot.util
Class IterableSet
java.lang.Object
java.util.AbstractCollection
soot.util.HashChain
soot.util.IterableSet
- All Implemented Interfaces:
- Chain, Collection, Serializable, Set
- public class IterableSet
- extends HashChain
- implements Set
- See Also:
- Serialized Form
| Methods inherited from class soot.util.HashChain |
addFirst, addLast, clear, contains, containsAll, follows, getFirst, getLast, getPredOf, getSuccOf, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, iterator, iterator, iterator, listToHashChain, removeFirst, removeLast, size, snapshotIterator, snapshotIterator, swapWith, toList |
| Methods inherited from interface java.util.Set |
addAll, clear, contains, containsAll, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray |
IterableSet
public IterableSet(Collection c)
IterableSet
public IterableSet()
add
public boolean add(Object o)
- Description copied from class:
HashChain
- Adds the given object to this HashChain.
- Specified by:
add in interface Set- Overrides:
add in class HashChain
remove
public boolean remove(Object o)
- Description copied from interface:
Chain
- Removes the given object from this Chain.
- Specified by:
remove in interface Set- Overrides:
remove in class HashChain
equals
public boolean equals(Object o)
- Specified by:
equals in interface Set
clone
public Object clone()
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 String toString()
- Description copied from class:
HashChain
- Returns a textual representation of the contents of this Chain.
- Overrides:
toString in class HashChain