processing.data

## Class Sort

- java.lang.Object
- - processing.data.Sort

- All Implemented Interfaces:
    java.lang.Runnable

      public abstract class Sort
      extends java.lang.Object
      implements java.lang.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 java.lang.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 `java.lang.Runnable`

    - #### size

          public abstract int size()

    - #### compare

          public abstract float compare(int a,
                      int b)

    - #### swap

          public abstract void swap(int a,
                  int b)