public class Sorter extends java.lang.Object implements java.lang.Runnable
Constructor and Description |
---|
Sorter(java.lang.Double[] values,
ArrayComponent panel)
Constructs the sorter.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
public Sorter(java.lang.Double[] values, ArrayComponent panel)
values
- the array to sortpanel
- the panel for displaying the arraypublic void run()
run
in interface java.lang.Runnable