Class DTDGrammar.QNameHashtable

  • Enclosing class:
    DTDGrammar

    protected static final class DTDGrammar.QNameHashtable
    extends Object
    A simple Hashtable implementation that takes a tuple (String, String) as the key and a int as value.
    Author:
    Eric Ye, IBM, Andy Clark, IBM
    • Constructor Detail

      • QNameHashtable

        protected QNameHashtable()
    • Method Detail

      • put

        public void put​(String key,
                        int value)
        Associates the given value with the specified key tuple.
      • get

        public int get​(String key)
        Returns the value associated with the specified key tuple.
      • hash

        public int hash​(String symbol)