|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttoxi.color.ProximityComparator
public class ProximityComparator

Compares two colors by their distance to the given target color.
| Constructor Summary | |
|---|---|
ProximityComparator(ReadonlyTColor col,
DistanceProxy proxy)
|
|
| Method Summary | |
|---|---|
int |
compare(ReadonlyTColor a,
ReadonlyTColor b)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public ProximityComparator(ReadonlyTColor col,
DistanceProxy proxy)
| Method Detail |
|---|
public int compare(ReadonlyTColor a,
ReadonlyTColor b)
compare in interface java.util.Comparator<ReadonlyTColor>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||