org.omnaest.utils.sorting
Interface SortUtil.ComparableArbitraryStructureIndexPosition
- Enclosing class:
- SortUtil
public static interface SortUtil.ComparableArbitraryStructureIndexPosition
Used within the merge sort core to compare two indexPositions. This will implicitly provide a
metric for the index positions.
Has to be implemented by the client application.
- Author:
- Omnaest
- See Also:
SortUtil.mergeSort(ArbitraryStructureContext, ComparableArbitraryStructureIndexPosition,
MergeSortDataModify, boolean)
|
Method Summary |
int |
compare(int indexPosition1,
int indexPosition2)
|
compare
int compare(int indexPosition1,
int indexPosition2)
Copyright © 2013. All Rights Reserved.