- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrimitiveArray()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
indexOf(int value)
int
indexOf(long value)
int
nearestIndexOf(long value)
void
reverseSort()
void
reverseSort(SortListener listener)
void
setSize(int size)
int
size()
void
sort()
void
sort(SortListener listener)
void
sort(SortListener listener, ProgressMonitor monitor)
void
sort(ProgressMonitor monitor)
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.phd.util.SortListener
swap
-
-
-
-
Method Detail
-
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)
-
-