- java.lang.Object
-
- com.ibm.j9ddr.corereaders.tdump.zebedee.util.PrimitiveArray
-
- com.ibm.j9ddr.corereaders.tdump.zebedee.util.IntegerArray
-
- All Implemented Interfaces:
SortListener,Serializable
public final class IntegerArray extends PrimitiveArray
Useful utility class that just implements an array of integers that can be sorted. One main use is for mapping integer addresses to objects without the huge overhead of a Hashtable. The key to the usefulness is in the SortListener object that gets sorted along with this object.- See Also:
- Dave Griffiths home page, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegerArray()IntegerArray(int shift)IntegerArray(int length, int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int value)voidadd(int index, int value)intget(int index)intmemoryUsage()voidput(int index, int value)voidputAll(int value)int[]toArray()-
Methods declared in class com.ibm.j9ddr.corereaders.tdump.zebedee.util.PrimitiveArray
indexOf, indexOf, nearestIndexOf, reverseSort, reverseSort, setSize, size, sort, sort, sort, sort
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.j9ddr.corereaders.tdump.zebedee.util.SortListener
swap
-
-