writer2latex.latex.i18n

Class ReplacementTrie


public class ReplacementTrie
extends ReplacementTrieNode

This class contains a trie of string -> LaTeX code replacements

Constructor Summary

ReplacementTrie()

Method Summary

ReplacementTrieNode
get(String sInput)
ReplacementTrieNode
get(String sInput, int nStart, int nEnd)
String[]
getInputStrings()
void
put(String sInput, String sLaTeXCode, int nFontencs)

Methods inherited from class writer2latex.latex.i18n.ReplacementTrieNode

appendChild, appendSibling, get, getChildByLetter, getFirstChild, getFontencs, getInputLength, getLaTeXCode, getLetter, getNextSibling, put, setFontencs, setLaTeXCode, toString

Constructor Details

ReplacementTrie

public ReplacementTrie()

Method Details

get

public ReplacementTrieNode get(String sInput)

get

public ReplacementTrieNode get(String sInput,
                               int nStart,
                               int nEnd)
Overrides:
get in interface ReplacementTrieNode

getInputStrings

public String[] getInputStrings()

put

public void put(String sInput,
                String sLaTeXCode,
                int nFontencs)
Overrides:
put in interface ReplacementTrieNode