protected class Pie.CompareSlice extends java.lang.Object implements Comparator
| Modifier | Constructor and Description |
|---|---|
protected |
Pie.CompareSlice() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(int a,
int b)
Compares its two arguments for order.
|
public final int compare(int a,
int b)
Comparatorcompare in interface Comparatora - the first integer to be compared.b - the second integer to be compared.