Package mondrian.olap.fun
Class PartialSortTest.Item
- java.lang.Object
-
- mondrian.olap.fun.PartialSortTest.Item
-
- Enclosing class:
- PartialSortTest
static class PartialSortTest.Item extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static Comparator<PartialSortTest.Item>byIndex(package private) static Comparator<PartialSortTest.Item>byKey(package private) intindex(package private) intkey
-
Constructor Summary
Constructors Constructor Description Item(int index, int key)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static booleanisStablySorted(PartialSortTest.Item[] vec, int limit, boolean desc)
-
-
-
Field Detail
-
index
final int index
-
key
final int key
-
byIndex
static final Comparator<PartialSortTest.Item> byIndex
-
byKey
static final Comparator<PartialSortTest.Item> byKey
-
-
Method Detail
-
isStablySorted
static boolean isStablySorted(PartialSortTest.Item[] vec, int limit, boolean desc)
-
-