Top Description Fields Constructors Methods
org.stringtemplate.v4.compiler

public Class StringTable

extends Object
Class Inheritance
Imports
java.util.LinkedHashMap

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

Modifier and TypeField and Description
protected int
i

protected LinkedHashMap<String, Integer>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public String[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

iback to summary
protected int i
tableback to summary
protected LinkedHashMap<String, Integer> table

Constructor Detail

StringTableback to summary
public StringTable()

Method Detail

addback to summary
public int add(String s)
toArrayback to summary
public String[] toArray()