toxi.color
Class HistEntry

java.lang.Object
  extended by toxi.color.HistEntry
All Implemented Interfaces:
java.lang.Comparable<HistEntry>

public class HistEntry
extends java.lang.Object
implements java.lang.Comparable<HistEntry>

A single histogram entry, a coupling of color & frequency. Implements a comparator to sort histogram entries based on freq.


Method Summary
 int compareTo(HistEntry e)
           
 TColor getColor()
           
 float getFrequency()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(HistEntry e)
Specified by:
compareTo in interface java.lang.Comparable<HistEntry>

getColor

public TColor getColor()

getFrequency

public float getFrequency()