Package qilin.core.sets
Class PointsToSetInternal
java.lang.Object
qilin.core.sets.PointsToSetInternal
- Direct Known Subclasses:
DoublePointsToSet
,HybridPointsToSet
Abstract base class for implementations of points-to sets.
- Author:
- Ondrej Lhotak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
add
(int idx) Adds node index idx to this set, returns true if idx was not already in this set.abstract boolean
addAll
(PointsToSetInternal other, PointsToSetInternal exclude) abstract void
clear()
abstract boolean
contains
(int idx) Returns true iff the set contains the node number index.abstract boolean
Calls v's visit method on all nodes in this set.boolean
abstract boolean
isEmpty()
iterator()
abstract int
size()
-
Constructor Details
-
PointsToSetInternal
public PointsToSetInternal()
-
-
Method Details
-
forall
Calls v's visit method on all nodes in this set. -
addAll
-
add
public abstract boolean add(int idx) Adds node index idx to this set, returns true if idx was not already in this set. -
contains
public abstract boolean contains(int idx) Returns true iff the set contains the node number index. -
iterator
-
clear
public abstract void clear() -
isEmpty
public abstract boolean isEmpty() -
hasNonEmptyIntersection
-
size
public abstract int size()
-