|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mindswap.pellet.utils.fsm.State<T>
public class State<T>
Title:
Description:
Copyright: Copyright (c) 2006
Company: Clark & Parsia, LLC.
| Constructor Summary | |
|---|---|
State()
|
|
| Method Summary | |
|---|---|
void |
addTransition(State<T> s)
Create an epsilon transition from this state to the given state |
void |
addTransition(T symbol,
State<T> s)
Create a transition from this state to the given state on given symbol |
int |
getName()
|
java.util.Set<Transition<T>> |
getTransitions()
Returns the transitions for originating from this state. |
State<T> |
move(T symbol)
Returns a state reached from this state with the given symbol. |
void |
setName(int i)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public State()
| Method Detail |
|---|
public void addTransition(T symbol,
State<T> s)
symbol - s - public void addTransition(State<T> s)
s - public java.util.Set<Transition<T>> getTransitions()
public State<T> move(T symbol)
null otherwisepublic int getName()
public void setName(int i)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||