|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SortAlgorithm
This interface represents most part of the sorting algorithms. There is a subclass of this interface of each type of sorting algorithm
Method Summary | |
---|---|
void |
sort(java.util.List list)
Sort the list using it's natural order (i.e. |
void |
sort(java.util.List list,
int start,
int end)
Sort a specific range of the list. |
void |
sort(java.lang.Object[] list)
Sort the list using it's natural order (i.e. |
void |
sort(java.lang.Object[] list,
int start,
int end)
Sort a specific range of the list. |
Method Detail |
---|
void sort(java.util.List list)
list
- to be sortComparable
void sort(java.util.List list, int start, int end)
list
- to be sortvoid sort(java.lang.Object[] list)
list
- to be sortComparable
void sort(java.lang.Object[] list, int start, int end)
list
- to be sort
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |