|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSymbol.Table<K,V>
public class Table<K,V>
The Table class is similar to java.util.HashMap, except that there is a scope mechanism.
| Constructor Summary | |
|---|---|
Table()
|
|
| Method Summary | |
|---|---|
void |
beginScope()
Remembers the current state of the Table. |
void |
endScope()
Restores the table to what it was at the most recent beginScope that has not already been ended. |
V |
get(K key)
|
java.util.Set<K> |
keySet()
|
V |
put(K key,
V value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Table()
| Method Detail |
|---|
public V get(K key)
public V put(K key,
V value)
public void beginScope()
public void endScope()
public java.util.Set<K> keySet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||