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, spliterator
addAll, containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
isLess
equals, getPrecision, getStateByName, hashCode
public 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)
LatticeAbstractState
abstractState
.join
in interface LatticeAbstractState<SetAbstractState<T>>
public boolean isLessOrEqual(SetAbstractState<T> abstractState)
LatticeAbstractState
abstractState
.isLessOrEqual
in interface LatticeAbstractState<SetAbstractState<T>>
public SetAbstractState<T> copy()
AbstractState
copy
in interface AbstractState