Class CharHash

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map

    public class CharHash
    extends java.util.Hashtable
    A CharHash is a Hashtable where the key is the label for a button in the character window and the value is the tool tip text for this button. In addition to the methods inherited from Hashtable it provides a method which returns a sorted Enumeration of the contained keys.
    Version:
    $Revision: 1.1 $
    Author:
    Simone Leonardi
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CharHash()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Enumeration sortedKeys()
      Returns an alphabetically sorted Enumeration of the contained keys.
      • Methods inherited from class java.util.Hashtable

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
      • Methods inherited from interface java.util.Map

      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CharHash

        public CharHash()
    • Method Detail

      • sortedKeys

        public java.util.Enumeration sortedKeys()
        Returns an alphabetically sorted Enumeration of the contained keys. For that purpose the method Collections.sort(List) is used.
        Returns:
        a sorted Enumeration
        See Also:
        Collections.sort(List)