Package proguard.analysis.cpa.defaults
Class SetAbstractState<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<T>
proguard.analysis.cpa.defaults.SetAbstractState<T>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<T>,Collection<T>,Set<T>,AbstractState<SetAbstractState<T>>
This
SetAbstractState represents a set with the subset ordering.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSetAbstractState(Collection<? extends T> c) Create a set abstract state from a collection.SetAbstractState(T... items) Create a set abstract state from its elements. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SetAbstractState<T>bottom()copy()Creates a copy of itself.booleanisLessOrEqual(SetAbstractState<T> abstractState) Compares itself to theabstractState(i.e., compare the states on the partial order provided by the domain of the analysis).join(SetAbstractState<T> abstractState) Computes a join over itself and another abstract stateabstractState(i.e., finds the least upper bound on the semilattice).Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator, toArray, toArrayMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface proguard.analysis.cpa.interfaces.AbstractState
equals, getPrecision, hashCode, isLessMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
SetAbstractState
Create a set abstract state from its elements.- Parameters:
items- an array of elements
-
SetAbstractState
Create a set abstract state from a collection.- Parameters:
c- a collection of elements
-
-
Method Details
-
join
Description copied from interface:AbstractStateComputes a join over itself and another abstract stateabstractState(i.e., finds the least upper bound on the semilattice).- Specified by:
joinin interfaceAbstractState<T>
-
isLessOrEqual
Description copied from interface:AbstractStateCompares itself to theabstractState(i.e., compare the states on the partial order provided by the domain of the analysis).- Specified by:
isLessOrEqualin interfaceAbstractState<T>
-
copy
Description copied from interface:AbstractStateCreates a copy of itself.- Specified by:
copyin interfaceAbstractState<T>
-
bottom
-