|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.ObjectdRegAut.StateSymbolPair
public class StateSymbolPair
A pair of a state and an alphabet symbol. This is used in the representation of transition functions in the automata.
| Field Summary | |
|---|---|
State |
state
The first component of the pair. |
Character |
symbol
The second component of the pair. |
| Constructor Summary | |
|---|---|
StateSymbolPair(State state,
Character symbol)
Constructs a new pair. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Checks whether two pairs are equals. |
int |
hashCode()
Computes hash code for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public State state
public Character symbol
| Constructor Detail |
|---|
public StateSymbolPair(State state,
Character symbol)
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||