public class HashTableStack
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
HashTableStack.Link
To store the hashtables.
|
Modifier and Type | Field and Description |
---|---|
protected HashTableStack.Link |
current
The current link.
|
Constructor and Description |
---|
HashTableStack()
Creates a new HashTableStack object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String s)
Gets an item in the table on the top of the stack.
|
void |
pop()
Removes the table on the top of the stack.
|
void |
push()
Pushes a new table on the stack.
|
java.lang.String |
put(java.lang.String s,
java.lang.String v)
Creates a mapping in the table on the top of the stack.
|
protected HashTableStack.Link current
public void push()
public void pop()
public java.lang.String put(java.lang.String s, java.lang.String v)
public java.lang.String get(java.lang.String s)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.