toxi.color
Class CMYKComparator

java.lang.Object
  extended by toxi.color.CMYKComparator
All Implemented Interfaces:
java.util.Comparator<Color>

public class CMYKComparator
extends java.lang.Object
implements java.util.Comparator<Color>


Constructor Summary
CMYKComparator(int comp)
           
 
Method Summary
 int compare(Color a, Color b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

CMYKComparator

public CMYKComparator(int comp)
Method Detail

compare

public int compare(Color a,
                   Color b)
Specified by:
compare in interface java.util.Comparator<Color>