|
Algorithm Development Kit 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPivotIndex
Interface describing behavior for selecting a pivotIndex for partition.
| Method Summary | |
|---|---|
int |
selectPivotIndex(java.lang.Comparable[] ar,
int left,
int right)
Select a pivot from the given subarray ar[left,right]. |
| Method Detail |
|---|
int selectPivotIndex(java.lang.Comparable[] ar,
int left,
int right)
ar - base array of elements.left - left index of sub-arrayright - right index of sub-array
|
Algorithm Development Kit 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||