public class Sorter extends java.lang.Object implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private static int |
DELAY |
private ArrayComponent |
panel |
private java.util.concurrent.BlockingQueue<java.lang.String> |
queue |
private java.lang.Double[] |
values |
Constructor and Description |
---|
Sorter(java.lang.Double[] values,
ArrayComponent panel,
java.util.concurrent.BlockingQueue<java.lang.String> queue) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
private java.lang.Double[] values
private ArrayComponent panel
private java.util.concurrent.BlockingQueue<java.lang.String> queue
private static final int DELAY
public Sorter(java.lang.Double[] values, ArrayComponent panel, java.util.concurrent.BlockingQueue<java.lang.String> queue)
public void run()
run
in interface java.lang.Runnable