cgl.narada.util
Class ShellSorter

java.lang.Object
  extended by cgl.narada.util.ShellSorter

public class ShellSorter
extends Object

ShellSorter - Adapted from Data Structures and Algorithms - Waite Groupe


Constructor Summary
ShellSorter()
          ShellSorter constructor.
ShellSorter(int max)
           
 
Method Summary
 void display()
           
protected  void finalize()
          Code to perform when this object is garbage collected.
 void insert(int value)
           
static void main(String[] args)
          Starts the application.
 int[] shellSort()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellSorter

public ShellSorter()
ShellSorter constructor.


ShellSorter

public ShellSorter(int max)
Method Detail

display

public void display()

finalize

protected void finalize()
                 throws Throwable
Code to perform when this object is garbage collected. Any exception thrown by a finalize method causes the finalization to halt. But otherwise, it is ignored.

Overrides:
finalize in class Object
Throws:
Throwable

insert

public void insert(int value)

shellSort

public int[] shellSort()

main

public static void main(String[] args)
Starts the application.

Parameters:
args - an array of command-line arguments


For comments and suggestions please send e-mail to The NaradaBrokering Project