Package org.apache.batik.dom.util
Class HashTableStack
- java.lang.Object
-
- org.apache.batik.dom.util.HashTableStack
-
public class HashTableStack extends java.lang.Object
This class represents a stack of HashTable objects.- Version:
- $Id: HashTableStack.java 1810674 2017-10-03 09:12:00Z ssteiner $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
HashTableStack.Link
To store the hashtables.
-
Field Summary
Fields Modifier and Type Field Description protected HashTableStack.Link
current
The current link.
-
Constructor Summary
Constructors Constructor Description HashTableStack()
Creates a new HashTableStack object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
current
protected HashTableStack.Link current
The current link.
-
-
Method Detail
-
push
public void push()
Pushes a new table on the stack.
-
pop
public void pop()
Removes the table on the top of the stack.
-
put
public java.lang.String put(java.lang.String s, java.lang.String v)
Creates a mapping in the table on the top of the stack.
-
get
public java.lang.String get(java.lang.String s)
Gets an item in the table on the top of the stack.
-
-