|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.stringtemplate.v4.compiler.StringTable
public class StringTable
A unique set of strings where we can get a string's index. We can also get them back out in original order.
| Field Summary | |
|---|---|
protected int |
i
|
protected java.util.LinkedHashMap<java.lang.String,java.lang.Integer> |
table
|
| Constructor Summary | |
|---|---|
StringTable()
|
|
| Method Summary | |
|---|---|
int |
add(java.lang.String s)
|
java.lang.String[] |
toArray()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.LinkedHashMap<java.lang.String,java.lang.Integer> table
protected int i
| Constructor Detail |
|---|
public StringTable()
| Method Detail |
|---|
public int add(java.lang.String s)
public java.lang.String[] toArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||