public class SetAbstractState<T> extends java.util.HashSet<T> implements AbstractState<SetAbstractState<T>>
SetAbstractState represents a set with the subset ordering.| Constructor and Description |
|---|
SetAbstractState(java.util.Collection<? extends T> c)
Create a set abstract state from a collection.
|
SetAbstractState(T... items)
Create a set abstract state from its elements.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> SetAbstractState<T> |
bottom() |
SetAbstractState<T> |
copy()
Creates a copy of itself.
|
boolean |
isLessOrEqual(SetAbstractState<T> abstractState)
Compares itself to the
abstractState (i.e., compare the states on the partial order
provided by the domain of the analysis). |
SetAbstractState<T> |
join(SetAbstractState<T> abstractState)
Computes a join over itself and another abstract state
abstractState (i.e., finds the
least upper bound on the semilattice). |
add, clear, clone, contains, isEmpty, iterator, remove, size, spliteratoraddAll, containsAll, retainAll, toArray, toArray, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, getPrecision, hashCode, isLesspublic SetAbstractState(T... items)
items - an array of elementspublic SetAbstractState(java.util.Collection<? extends T> c)
c - a collection of elementspublic SetAbstractState<T> join(SetAbstractState<T> abstractState)
AbstractStateabstractState (i.e., finds the
least upper bound on the semilattice).join in interface AbstractState<SetAbstractState<T>>public boolean isLessOrEqual(SetAbstractState<T> abstractState)
AbstractStateabstractState (i.e., compare the states on the partial order
provided by the domain of the analysis).isLessOrEqual in interface AbstractState<SetAbstractState<T>>public SetAbstractState<T> copy()
AbstractStatecopy in interface AbstractState<SetAbstractState<T>>public static <T> SetAbstractState<T> bottom()