Sort

processing.data

## Class Sort

- Object
- - Sort

- All Implemented Interfaces:
    Runnable

      public abstract class Sort
      extends Object
      implements Runnable

  Internal sorter used by several data classes. Advanced users only, not official API.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Sort()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract float` | `compare(int a, int b)`
    `void` | `run()`
    `abstract int` | `size()`
    `abstract void` | `swap(int a, int b)`

    - ### Methods inherited from class Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Sort

          public Sort()

  - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

    - #### size

          public abstract int size()

    - #### compare

          public abstract float compare(int a,
                      int b)

    - #### swap

          public abstract void swap(int a,
                  int b)