| Constructor and Description |
|---|
WrappedIntArray(int[] ia)
Constructs a new
CharCompressedIntArray instance. |
| Modifier and Type | Method and Description |
|---|---|
int |
get(int index)
Returns the specified array element.
|
int |
size()
Returns the number of elements.
|
java.lang.String |
toString()
Returns a string representation of this
IntArray by applying
java.utils.Arrays.toString() to an equivalent int[]
object. |
public WrappedIntArray(int[] ia)
CharCompressedIntArray instance.ia - an array of integersjava.lang.NullPointerException - if ia == nullpublic int size()
IntArraypublic int get(int index)
IntArraypublic java.lang.String toString()
IntArrayIntArray by applying
java.utils.Arrays.toString() to an equivalent int[]
object.