This is different from java. because the array may be an array of primitives. Arrays of non-primitives
also work, but java. would probably be a better choice for these arrays.
| Modifier and Type | Field and Description |
|---|---|
| private final Object | array
The array to provide a view of. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | get(final int
index of the element to return index)Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| array | back to summary |
|---|---|
| private final Object array The array to provide a view of. | |
| PrimitiveArrayList | back to summary |
|---|---|
| pack-priv PrimitiveArrayList(final Object array) Creates a new
| |
| get | back to summary |
|---|---|
| public Object get(final int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |