Package pascal.taie.analysis.pta.pts
Interface PointsToSet
- All Superinterfaces:
Copyable<PointsToSet>
,Iterable<CSObj>
Representation of points-to sets that consist of
CSObj
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
addAll
(PointsToSet pts) Adds all objects in given pts to this set.addAllDiff
(PointsToSet pts) Adds all objects in given pts to this set.boolean
Adds an object to this set.boolean
boolean
isEmpty()
iterator()
objects()
int
size()
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
addObject
Adds an object to this set.- Returns:
- true if this points-to set changed as a result of the call, otherwise false.
-
addAll
Adds all objects in given pts to this set.- Returns:
- true if this points-to set changed as a result of the call, otherwise false.
-
addAllDiff
Adds all objects in given pts to this set.- Returns:
- the difference between
pts
and this set.
-
contains
- Returns:
- true if this set contains given object, otherwise false.
-
isEmpty
boolean isEmpty()- Returns:
- whether this set if empty.
-
size
int size()- Returns:
- the number of objects in this set.
-
getObjects
- Returns:
- all objects in this set.
-
objects
- Returns:
- all objects in this set.
-
iterator
-