|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--gpsys.TypeToTerminalsTable
A Table that maps a given Type to an array of Terminals returning that type.
| Field Summary | |
(package private) java.util.Hashtable |
theTable
|
| Constructor Summary | |
TypeToTerminalsTable(int initialCapacity)
Creates a table of the specified initial capacity. |
|
| Method Summary | |
Terminal[] |
get(Type t)
Get all the Terminals that return the specified type. |
void |
put(Type t,
Terminal[] terminals)
Put the specified Terminals array in the table. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.util.Hashtable theTable
| Constructor Detail |
public TypeToTerminalsTable(int initialCapacity)
initialCapacity - The initial capacity of the table.| Method Detail |
public final Terminal[] get(Type t)
t - The return type of the Terminals.
public final void put(Type t,
Terminal[] terminals)
t - The return type of the Terminals.functions - The array of Terminals return the above type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||