Class PrimitiveArray

java.lang.Object
com.ibm.dtfj.phd.util.PrimitiveArray
All Implemented Interfaces:
SortListener, Serializable
Direct Known Subclasses:
LongArray

public abstract class PrimitiveArray extends Object implements Serializable, SortListener
Superclass of IntegerArray and LongArray
See Also:
  • Constructor Details

    • PrimitiveArray

      public PrimitiveArray()
  • Method Details

    • size

      public int size()
    • setSize

      public void setSize(int size)
    • indexOf

      public int indexOf(long value)
    • nearestIndexOf

      public int nearestIndexOf(long value)
    • indexOf

      public int indexOf(int value)
    • sort

      public void sort(ProgressMonitor monitor)
    • sort

      public void sort(SortListener listener, ProgressMonitor monitor)
    • sort

      public void sort()
    • reverseSort

      public void reverseSort()
    • sort

      public void sort(SortListener listener)
    • reverseSort

      public void reverseSort(SortListener listener)
    • swap

      public void swap(int a, int b)
      Specified by:
      swap in interface SortListener