net.sf.jsort.linear
Interface LinearSort

All Superinterfaces:
SortAlgorithm
All Known Implementing Classes:
BaseLinearSort, CountingSort, RadixSort

public interface LinearSort
extends SortAlgorithm

Represents a Linear Sort Algorithm. All implementation of this interface has a O(n) sorting algorithm.

Author:
Domingos Creado

Method Summary
 void sort(java.util.List list, IndexResolver resolver)
          Sort the list using the specified IndexResolver
 void sort(java.util.List list, IndexResolver resolver, int start, int end)
          Sort a specific range of the list using the IndexResolver
 void sort(java.lang.Object[] list, IndexResolver resolver)
          Sort the list using the specified IndexResolver
 void sort(java.lang.Object[] list, IndexResolver resolver, int start, int end)
          Sort a specific range of the list, using the specified resolver.
 
Methods inherited from interface net.sf.jsort.SortAlgorithm
sort, sort, sort, sort
 

Method Detail

sort

void sort(java.util.List list,
          IndexResolver resolver)
Sort the list using the specified IndexResolver

Parameters:
list - to be sort

sort

void sort(java.util.List list,
          IndexResolver resolver,
          int start,
          int end)
Sort a specific range of the list using the IndexResolver

Parameters:
list - to be sort

sort

void sort(java.lang.Object[] list,
          IndexResolver resolver)
Sort the list using the specified IndexResolver

Parameters:
list - to be sort

sort

void sort(java.lang.Object[] list,
          IndexResolver resolver,
          int start,
          int end)
Sort a specific range of the list, using the specified resolver.

Parameters:
list - to be sort


Copyright © 2005-2008 Domingos Creado. All Rights Reserved.