| Package | com.addicted2flash.util.sorter |
| Class | public class ArrayHeapSorter |
| Implements | IArraySorter |
Arrays based
on heap-structure ordered with IComparator configured at construction time.
| Method | Defined by | ||
|---|---|---|---|
|
Create a new
ArrayHeapSorter
| ArrayHeapSorter | ||
|
sort(a:Array):void
sorting Arrays
| ArrayHeapSorter | ||
| ArrayHeapSorter | () | constructor |
public function ArrayHeapSorter(cmp:IComparator)
Create a new ArrayHeapSorter
cmp:IComparator — IComparator for ordering elements
|
| sort | () | method |
public function sort(a:Array):voidsorting Arrays
Parametersa:Array — Array
|