java.lang.ObjectSort
public class Sort
A collection of sorting algorithms for arrays of integers.
Constructor Summary | |
---|---|
Sort()
Default constructor. |
Method Summary | |
---|---|
void |
selectionSort(int[] v)
Sort the elements in ascending order using selection sort. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sort()
Method Detail |
---|
public void selectionSort(int[] v)
v
- An array of integers.