Class PrimitiveArray
java.lang.Object
com.ibm.dtfj.phd.util.PrimitiveArray
- All Implemented Interfaces:
SortListener
,Serializable
- Direct Known Subclasses:
LongArray
Superclass of IntegerArray and LongArray
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
indexOf
(int value) int
indexOf
(long value) int
nearestIndexOf
(long value) void
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) void
swap
(int a, int b)
-
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
-
sort
-
sort
public void sort() -
reverseSort
public void reverseSort() -
sort
-
reverseSort
-
swap
public void swap(int a, int b) - Specified by:
swap
in interfaceSortListener
-