org.omnaest.utils.sorting
Interface SortUtil.MergeSortDataModify

Enclosing class:
SortUtil

public static interface SortUtil.MergeSortDataModify

Used with merge sort. The client application has to implement a stack for the merge sort, that operates only with index positions. How the stack works is commonly not important, but it has to be a fast operation, because the merge sort uses this within the core module very offen.

Author:
Omnaest
See Also:
SortUtil.mergeSort(ArbitraryStructureContext, ComparableArbitraryStructureIndexPosition, MergeSortDataModify, boolean)

Method Summary
 void popFromStack(int destinationIndexPosition)
           
 void pushOnStack(int sourceIndexPosition)
           
 

Method Detail

pushOnStack

void pushOnStack(int sourceIndexPosition)

popFromStack

void popFromStack(int destinationIndexPosition)


Copyright © 2013. All Rights Reserved.