- return ascending ? Float.compare(values[o1], values[o2]) : Float
- .compare(values[o2], values[o1]);
+ return ascending ? Float.compare(values[o1], values[o2])
+ : Float.compare(values[o2], values[o1]);
- return ascending ? Integer.compare(values[o1], values[o2]) : Integer
- .compare(values[o2], values[o1]);
+ return ascending ? Integer.compare(values[o1], values[o2])
+ : Integer.compare(values[o2], values[o1]);
- System.arraycopy(nonZeroFloats, negativeCount, arr, negativeCount
- + zerosCount, positiveCount);
- System.arraycopy(nonZeroChars, negativeCount, s, negativeCount
- + zerosCount, positiveCount);
+ System.arraycopy(nonZeroFloats, negativeCount, arr,
+ negativeCount + zerosCount, positiveCount);
+ System.arraycopy(nonZeroChars, negativeCount, s,
+ negativeCount + zerosCount, positiveCount);
- System.arraycopy(nonZeroInts, negativeCount, arr, negativeCount
- + zerosCount, positiveCount);
- System.arraycopy(nonZeroChars, negativeCount, s, negativeCount
- + zerosCount, positiveCount);
+ System.arraycopy(nonZeroInts, negativeCount, arr,
+ negativeCount + zerosCount, positiveCount);
+ System.arraycopy(nonZeroChars, negativeCount, s,
+ negativeCount + zerosCount, positiveCount);
final int length = arr.length;
Integer[] indices = makeIndexArray(length);
Arrays.sort(indices, new IntComparator(arr, ascending));
final int length = arr.length;
Integer[] indices = makeIndexArray(length);
Arrays.sort(indices, new IntComparator(arr, ascending));
final int length = arr.length;
Integer[] indices = makeIndexArray(length);
Arrays.sort(indices, new ExternalComparator(arr, ascending));
final int length = arr.length;
Integer[] indices = makeIndexArray(length);
Arrays.sort(indices, new ExternalComparator(arr, ascending));
final int length = arr.length;
Integer[] indices = makeIndexArray(length);
Arrays.sort(indices, new DoubleComparator(arr, ascending));
final int length = arr.length;
Integer[] indices = makeIndexArray(length);
Arrays.sort(indices, new DoubleComparator(arr, ascending));