public static interface PCASortColors.SortRowInterface
Modifier and Type | Method and Description |
---|---|
void |
sort(PCASortColors.PCAColor[] colors,
int first,
int last,
int rowLen)
Sort the row(s).
|
void sort(PCASortColors.PCAColor[] colors, int first, int last, int rowLen)
colors
- The entire array of colors being sorted.first
- First element to process.last
- One past the last element to process.
colors[last] may not exist.rowLen
- How long rows are to be in the group.
if last-first is not a multiple of rowLen,
the last row of the group may be shorter.