public final class DefaultReachedSet extends java.util.LinkedHashSet<AbstractState> implements ReachedSet
LinkedHashSet
-based implementation of the ReachedSet
.Constructor and Description |
---|
DefaultReachedSet() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AbstractState> |
asCollection()
Returns a collection representation of itself.
|
java.util.Collection<AbstractState> |
getReached(AbstractState abstractState)
Returns a collection of abstract states mergeable with the
abstractState . |
boolean |
remove(AbstractState state)
Removes an abstract state.
|
add, clear, clone, contains, isEmpty, iterator, remove, size
addAll, containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, removeAll
public boolean remove(AbstractState state)
ReachedSet
remove
in interface ReachedSet
public java.util.Collection<AbstractState> asCollection()
ReachedSet
asCollection
in interface ReachedSet
public java.util.Collection<AbstractState> getReached(AbstractState abstractState)
ReachedSet
abstractState
.getReached
in interface ReachedSet