public class SetAbstractState<T> extends java.util.HashSet<T> implements LatticeAbstractState<SetAbstractState<T>>
SetAbstractState represents a set with the subset ordering.| Modifier and Type | Field and Description |
|---|---|
static SetAbstractState |
bottom |
| 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 |
|---|---|
SetAbstractState<T> |
copy()
Creates a copy of itself.
|
boolean |
isLessOrEqual(SetAbstractState<T> abstractState)
Compares itself to the
abstractState. |
SetAbstractState<T> |
join(SetAbstractState<T> abstractState)
Computes a join over itself and the
abstractState. |
add, clear, clone, contains, isEmpty, iterator, remove, size, spliteratoraddAll, containsAll, retainAll, toArray, toArray, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisLessequals, getPrecision, getStateByName, hashCodepublic static SetAbstractState bottom
public 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)
LatticeAbstractStateabstractState.join in interface LatticeAbstractState<SetAbstractState<T>>public boolean isLessOrEqual(SetAbstractState<T> abstractState)
LatticeAbstractStateabstractState.isLessOrEqual in interface LatticeAbstractState<SetAbstractState<T>>public SetAbstractState<T> copy()
AbstractStatecopy in interface AbstractState