public class SharedListSet extends PointsToSetInternal
| Modifier and Type | Class and Description |
|---|---|
class |
SharedListSet.ListNode |
class |
SharedListSet.Pair |
PointsToSetInternal.P2SetVisitorDefaultTrue, PointsToSetInternal.P2SetVisitorInttype| Constructor and Description |
|---|
SharedListSet(Type type,
PAG pag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Node n)
Adds n to this set, returns true if n was not already in this set.
|
boolean |
addAll(PointsToSetInternal other,
PointsToSetInternal exclude)
Adds contents of other minus the contents of exclude into this set;
returns true if this set changed.
|
boolean |
contains(Node n)
Returns true iff the set contains n.
|
boolean |
forall(P2SetVisitor v)
Calls v's visit method on all nodes in this set.
|
static P2SetFactory |
getFactory() |
boolean |
isEmpty()
Returns true if this set contains no run-time objects.
|
flushNew, getBitMask, getNewSet, getOldSet, getType, hasNonEmptyIntersection, mergeWith, pointsToSetEquals, pointsToSetHashCode, possibleClassConstants, possibleStringConstants, possibleTypes, setType, size, toString, unFlushNewpublic static final P2SetFactory getFactory()
public boolean contains(Node n)
PointsToSetInternalcontains in class PointsToSetInternalpublic boolean isEmpty()
PointsToSetpublic boolean forall(P2SetVisitor v)
PointsToSetInternalforall in class PointsToSetInternalpublic boolean add(Node n)
PointsToSetInternaladd in class PointsToSetInternalpublic boolean addAll(PointsToSetInternal other, PointsToSetInternal exclude)
PointsToSetInternaladdAll in class PointsToSetInternal