|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.jimple.toolkits.invoke.TypeSet
A bit-vector implementation for flow sets with types as its elements.
Constructor Summary | |
TypeSet()
Creates an empty TypeSet. |
|
TypeSet(java.util.Collection c)
Creates a TypeSet which contains a types specified in the collection c . |
Method Summary | |
boolean |
add(java.lang.Object o)
Adds a type to this set. |
boolean |
addAll(java.util.Collection c)
Adds all the types in c to this set. |
boolean |
addAll(TypeSet s)
Adds all the types in s to this set. |
void |
clear()
Removes all types from this set. |
boolean |
contains(java.lang.Object o)
Returns true if the type o is in this set, false otherwise. |
boolean |
containsAll(java.util.Collection c)
Returns true if all the types in c are in this set, false otherwise. |
boolean |
equals(java.lang.Object o)
Tests whether this set is equal to the TypeSet o , in terms of set equality. |
boolean |
isEmpty()
Returns true if the set is empty. |
java.util.Iterator |
iterator()
Returns an iterator over this set. |
boolean |
remove(java.lang.Object o)
Removes the object o from this set. |
boolean |
removeAll(java.util.Collection c)
Removes all types in s from this set, if present. |
boolean |
removeAll(TypeSet s)
Removes all types in s from this set, if present. |
boolean |
retainAll(java.util.Collection c)
Removes all types in this set, except for those specified in s . |
boolean |
retainAll(TypeSet s)
Removes all types in this set, except for those specified in s . |
int |
size()
Returns the cardinality of this set. |
java.lang.Object[] |
toArray()
Returns an object array containing the elements of this set. |
java.lang.Object[] |
toArray(java.lang.Object[] a)
Returns an array with the same type as a , containing the elements
which are assignment-compatible with the base type of a . |
java.lang.String |
toString()
Returns a string representation of this set. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public TypeSet()
public TypeSet(java.util.Collection c)
c
.Method Detail |
public boolean add(java.lang.Object o)
public boolean addAll(java.util.Collection c)
c
to this set.public boolean addAll(TypeSet s)
s
to this set.public boolean removeAll(TypeSet s)
s
from this set, if present.public boolean retainAll(TypeSet s)
s
.public void clear()
public boolean contains(java.lang.Object o)
o
is in this set, false otherwise.public boolean containsAll(java.util.Collection c)
c
are in this set, false otherwise.public int size()
public java.util.Iterator iterator()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
o
, in terms of set equality.public java.lang.Object[] toArray()
public boolean isEmpty()
public boolean remove(java.lang.Object o)
o
from this set.public boolean removeAll(java.util.Collection c)
s
from this set, if present.public boolean retainAll(java.util.Collection c)
s
.public java.lang.Object[] toArray(java.lang.Object[] a)
a
, containing the elements
which are assignment-compatible with the base type of a
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |