Class Sort

java.lang.Object
processing.data.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 Details

    • Sort

      public Sort()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • size

      public abstract int size()
    • compare

      public abstract int compare(int a, int b)
    • swap

      public abstract void swap(int a, int b)