| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable
j2d.color.ColorHash
public class ColorHash
| Constructor Summary | |
|---|---|
| ColorHash() | |
| ColorHash(ShortImageBean sib)Construct a unique list of colors in the color has table. | |
| Method Summary | |
|---|---|
|  void | addShortArrays(short[][] r,
               short[][] g,
               short[][] b) | 
|  int | countColors() | 
|  java.awt.Color[] | getColors() | 
|  FloatImageBean | getFloatImageBean() | 
|  java.util.Vector | getVector()Convert the internally held Hash table into a vector of colors | 
| static void | main(java.lang.String[] args) | 
|  void | printColors() | 
| Methods inherited from class java.util.Hashtable | 
|---|
| clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ColorHash(ShortImageBean sib)
public ColorHash()
| Method Detail | 
|---|
public void addShortArrays(short[][] r,
                           short[][] g,
                           short[][] b)
public int countColors()
public void printColors()
public java.util.Vector getVector()
public java.awt.Color[] getColors()
public FloatImageBean getFloatImageBean()
public static void main(java.lang.String[] args)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||