|
|||||||||
| 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 |
| Methods inherited from interface java.util.Set |
hashCode |
| Constructor Detail |
public TypeSet()
public TypeSet(java.util.Collection c)
c.| Method Detail |
public boolean add(java.lang.Object o)
add in interface java.util.Setpublic boolean addAll(java.util.Collection c)
c to this set.addAll in interface java.util.Setpublic 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()
clear in interface java.util.Setpublic boolean contains(java.lang.Object o)
o is in this set, false otherwise.contains in interface java.util.Setpublic boolean containsAll(java.util.Collection c)
c are in this set, false otherwise.containsAll in interface java.util.Setpublic int size()
size in interface java.util.Setpublic java.util.Iterator iterator()
iterator in interface java.util.Setpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
o, in terms of set equality.equals in interface java.util.Setequals in class java.lang.Objectpublic java.lang.Object[] toArray()
toArray in interface java.util.Setpublic boolean isEmpty()
isEmpty in interface java.util.Setpublic boolean remove(java.lang.Object o)
o from this set.remove in interface java.util.Setpublic boolean removeAll(java.util.Collection c)
s from this set, if present.removeAll in interface java.util.Setpublic boolean retainAll(java.util.Collection c)
s.retainAll in interface java.util.Setpublic java.lang.Object[] toArray(java.lang.Object[] a)
a, containing the elements
which are assignment-compatible with the base type of a.toArray in interface java.util.Set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||