Public Methods | |
boolean | add (Object o) throws UnsupportedOperationException, ClassCastException, IllegalArgumentException |
boolean | addAll (Collection c) throws UnsupportedOperationException, ClassCastException, IllegalArgumentException |
void | clear () throws UnsupportedOperationException |
boolean | contains (Object o) |
boolean | containsAll (Collection c) |
boolean | equals (Object o) |
int | hashCode () |
boolean | isEmpty () |
Iterator | iterator () |
boolean | remove (Object o) throws UnsupportedOperationException |
boolean | removeAll (Collection c) throws UnsupportedOperationException |
boolean | retainAll (Collection c) throws UnsupportedOperationException |
int | size () |
Object[] | toArray () |
void | toArray (Object[] a) |
Collection (Type baseType, ConstExpr size) | |
void | apply (TypeSwitch sw, Object o) |
Expr | defaultVal () |
Type | getBaseType () |
int | getExtent () |
ConstExpr | getSize () |
boolean | isKind (int kind) |
String | toString () |
Private Attributes | |
Type | baseType |
ConstExpr | size |
A collection represents a bounded heap that can contain up to a fixed number of entities of a given type (the base type).
Collections are top-level types---a state variable can be a collection, but not an array slot or record field (nor can collections be nested).
Definition at line 72 of file ca/mcgill/sable/util/Collection.java.
|
Reimplemented from Type. Referenced by SootClass::declaresMethod(), SootClass::getMethod(), and BuildPDG::getRefsWithCommonField().
|
|
Reimplemented from Type. Definition at line 72 of file edu/ksu/cis/bandera/bir/Collection.java. Referenced by SmvTypeDecl::caseCollection().
|
|
Reimplemented from Type. Definition at line 77 of file edu/ksu/cis/bandera/bir/Collection.java. |