com.karneim.util.collection.automaton
Class Automaton.LinkedSet_State
java.lang.Object
com.karneim.util.collection.automaton.Automaton.LinkedSet_State
- All Implemented Interfaces:
- Automaton.IState, java.lang.Cloneable
- Direct Known Subclasses:
- AutomatonSet_String.LinkedSet_SState
- Enclosing class:
- Automaton
- public class Automaton.LinkedSet_State
- extends java.lang.Object
- implements Automaton.IState
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
elements
public Automaton.Wrapper_State elements
lastElement
protected Automaton.Wrapper_State lastElement
Automaton.LinkedSet_State
public Automaton.LinkedSet_State()
Automaton.LinkedSet_State
public Automaton.LinkedSet_State(Automaton.State state)
add
public boolean add(Automaton.State state)
addAll
public void addAll(Automaton.LinkedSet_State states)
addAll
public void addAll(Automaton.IState state)
remove
public boolean remove(Automaton.State state)
contains
public boolean contains(Automaton.State state)
clear
public void clear()
size
public int size()
isEmpty
public boolean isEmpty()
equals
public boolean equals(java.lang.Object obj)
equals
public boolean equals(Automaton.LinkedSet_State set)
hashCode
public int hashCode()
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Automaton.IState
toString
public java.lang.String toString()
getAllReachableStates
public Automaton.LinkedSet_State getAllReachableStates()
- Specified by:
getAllReachableStates
in interface Automaton.IState
next
public final Automaton.IState next(char ch)
- Specified by:
next
in interface Automaton.IState