util
Class ColorHash

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<String,Color>
          extended by util.ColorHash
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Color>

public class ColorHash
extends Hashtable<String,Color>

Hashtable: Color names, as defined in Color class -> Color.

See Also:
Serialized Form

Field Summary
private static Color[] COLOR
           
private static String[] COLORNAME
           
 
Constructor Summary
ColorHash()
           
 
Method Summary
 Color get(String key)
           
static void main(String[] arg)
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COLORNAME

private static final String[] COLORNAME

COLOR

private static final Color[] COLOR
Constructor Detail

ColorHash

public ColorHash()
Method Detail

get

public Color get(String key)
Parameters:
key -
Returns:
Object

main

public static void main(String[] arg)
Parameters:
arg -