j2d.color
Class Pixel

java.lang.Object
  extended by j2d.color.Pixel
All Implemented Interfaces:
Comparable2

public class Pixel
extends java.lang.Object
implements Comparable2


Method Summary
 double distance(Pixel p1)
           
 boolean equals(java.lang.Object p)
           
 boolean isGreater(java.lang.Object p)
           
 boolean isLess(java.lang.Object p)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface collections.sortable.Comparable2
hashCode
 

Method Detail

equals

public boolean equals(java.lang.Object p)
Specified by:
equals in interface Comparable2
Overrides:
equals in class java.lang.Object

distance

public double distance(Pixel p1)

isGreater

public boolean isGreater(java.lang.Object p)
Specified by:
isGreater in interface Comparable2

isLess

public boolean isLess(java.lang.Object p)
Specified by:
isLess in interface Comparable2

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object