soot.util
Class IterableSet
java.lang.Object
java.util.AbstractCollection<E>
soot.util.HashChain
soot.util.IterableSet
- All Implemented Interfaces:
- Serializable, Iterable, Collection, Set, Chain
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, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray |
IterableSet
public IterableSet(Collection<SootClass> 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 Collection
- 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.
Parameter has to be of type
Object
to be compatible
with the Collection
interface.
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface Set
- Specified by:
remove
in interface Chain
- Overrides:
remove
in class HashChain
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Collection
- Specified by:
equals
in interface Set
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection
- Specified by:
hashCode
in interface Set
- Overrides:
hashCode
in class Object
clone
public Object clone()
- Overrides:
clone
in class 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 String toString()
- Description copied from class:
HashChain
- Returns a textual representation of the contents of this Chain.
- Overrides:
toString
in class HashChain