public class ColorTuple extends java.lang.Object implements java.lang.Comparable<ColorTuple>
Modifier and Type | Field and Description |
---|---|
org.eclipse.swt.graphics.RGB |
rgb |
double |
value |
Constructor and Description |
---|
ColorTuple(double value,
org.eclipse.swt.graphics.RGB rgb) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ColorTuple o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public int compareTo(ColorTuple o)
compareTo
in interface java.lang.Comparable<ColorTuple>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object