public final class AllocAndContextSet extends ArraySet<AllocAndContext> implements EqualsSupportingPointsToSet
ArraySet.ArraySetIterator| Constructor and Description |
|---|
AllocAndContextSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNonEmptyIntersection(PointsToSet other)
Returns true if this set shares some objects with other.
|
boolean |
pointsToSetEquals(java.lang.Object other)
Returns
true if and only if other holds the same alloc nodes as this. |
int |
pointsToSetHashCode()
Computes a hash code based on the contents of the points-to set.
|
java.util.Set<ClassConstant> |
possibleClassConstants()
If this points-to set consists entirely of objects of
type java.lang.Class of a known class,
returns a set of ClassConstant's that are these classes.
|
java.util.Set<java.lang.String> |
possibleStringConstants()
If this points-to set consists entirely of string constants,
returns a set of these constant strings.
|
java.util.Set<Type> |
possibleTypes()
Set of all possible run-time types of objects in the set.
|
add, addAll, addAll, clear, contains, empty, forall, get, intersects, isEmpty, iterator, remove, remove, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisEmptypublic boolean hasNonEmptyIntersection(PointsToSet other)
PointsToSethasNonEmptyIntersection in interface PointsToSetpublic java.util.Set<ClassConstant> possibleClassConstants()
PointsToSetpossibleClassConstants in interface PointsToSetpublic java.util.Set<java.lang.String> possibleStringConstants()
PointsToSetpossibleStringConstants in interface PointsToSetpublic java.util.Set<Type> possibleTypes()
PointsToSetpossibleTypes in interface PointsToSetpublic int pointsToSetHashCode()
pointsToSetHashCode in interface EqualsSupportingPointsToSetpublic boolean pointsToSetEquals(java.lang.Object other)
true if and only if other holds the same alloc nodes as this.
Note that equals() is not overwritten on purpose.
This is because Spark relies on comparison by object identity.pointsToSetEquals in interface EqualsSupportingPointsToSet