public class HybridPointsToSet extends PointsToSetInternal
PointsToSetInternal.P2SetVisitorDefaultTrue, PointsToSetInternal.P2SetVisitorInt| Modifier and Type | Field and Description |
|---|---|
protected BitVector |
bits |
protected boolean |
empty |
protected Node[] |
nodes |
protected PAG |
pag |
type| Constructor and Description |
|---|
HybridPointsToSet(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 into this set, returns true if this set changed.
|
boolean |
contains(Node n)
Returns true iff the set contains n.
|
protected void |
convertToBits() |
protected boolean |
fastAdd(Node n) |
boolean |
forall(P2SetVisitor v)
Calls v's visit method on all nodes in this set.
|
static P2SetFactory<HybridPointsToSet> |
getFactory() |
static HybridPointsToSet |
intersection(HybridPointsToSet set1,
HybridPointsToSet set2,
PAG pag) |
boolean |
isEmpty()
Returns true if this set contains no run-time objects.
|
static void |
setPointsToSetFactory(P2SetFactory<HybridPointsToSet> factory) |
flushNew, getBitMask, getNewSet, getOldSet, getType, hasNonEmptyIntersection, mergeWith, pointsToSetEquals, pointsToSetHashCode, possibleClassConstants, possibleStringConstants, possibleTypes, setType, size, toString, unFlushNewprotected Node[] nodes
protected BitVector bits
protected PAG pag
protected boolean empty
public static void setPointsToSetFactory(P2SetFactory<HybridPointsToSet> factory)
public final boolean isEmpty()
public boolean addAll(PointsToSetInternal other, PointsToSetInternal exclude)
addAll in class PointsToSetInternalpublic boolean forall(P2SetVisitor v)
forall in class PointsToSetInternalpublic boolean add(Node n)
add in class PointsToSetInternalpublic boolean contains(Node n)
contains in class PointsToSetInternalpublic static P2SetFactory<HybridPointsToSet> getFactory()
protected boolean fastAdd(Node n)
protected void convertToBits()
public static HybridPointsToSet intersection(HybridPointsToSet set1, HybridPointsToSet set2, PAG pag)
Copyright © 2020 Soot OSS. All rights reserved.