Constructor and Description |
---|
Automaton() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accept(java.lang.String w)
This is an abstract method for checking the acceptance of input string.
|
void |
test(java.lang.String w)
This method checks the inputs and prints the result step by step.
|
public abstract boolean accept(java.lang.String w)
w
- String input that checked for acceptance.public void test(java.lang.String w)
w
- Input string of Automaton.