All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsl.core.algo.sorts.ListSelectionSortInPlace

java.lang.Object
   |
   +----jdsl.core.algo.sorts.ListSelectionSortInPlace

public class ListSelectionSortInPlace
extends Object
implements SortObject

Constructor Index

 o ListSelectionSortInPlace()

Method Index

 o sort(Sequence, Comparator)
Perform selection-sort, assuming the Sequence is a doubly-linked list.

This sort is an analogue of the array-based selection-sort.

Constructors

 o ListSelectionSortInPlace
 public ListSelectionSortInPlace()

Methods

 o sort
 public void sort(Sequence S,
                  Comparator c)
Perform selection-sort, assuming the Sequence is a doubly-linked list.

This sort is an analogue of the array-based selection-sort. All positions before cur store elements in sorted order


All Packages  Class Hierarchy  This Package  Previous  Next  Index