org.cogroo.tools.checker.rules.applier
Class State

java.lang.Object
  extended by org.cogroo.tools.checker.rules.applier.State
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AcceptState

public class State
extends Object
implements Serializable

A state, which is part of rules DFA.

Version:
$Id: State.java 186 2007-03-07 01:08:07Z colen $
Author:
Marcelo Suzumura
See Also:
Serialized Form

Constructor Summary
State(int name, PatternElement element)
           
 
Method Summary
 PatternElement getElement()
           
 int getName()
           
 List<State> getNextStates()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

State

public State(int name,
             PatternElement element)
Parameters:
name - the integer that represents the name of the state
element - the element from the rules file
Method Detail

getName

public int getName()

getElement

public PatternElement getElement()

getNextStates

public List<State> getNextStates()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012-2013 CoGrOO. All Rights Reserved.