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