public final class IntArrayList extends ElementList implements Iterable<int[]>
CAP, factor, size| Constructor and Description |
|---|
IntArrayList()
Default constructor.
|
IntArrayList(int c)
Constructor, specifying an initial array capacity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int[] e)
Adds an element.
|
int[] |
get(int i)
Returns the element at the specified index.
|
Iterator<int[]> |
iterator() |
void |
set(int i,
int[] e)
Sets an element at the specified index.
|
public IntArrayList()
public IntArrayList(int c)
c - initial capacitypublic void add(int[] e)
e - element to be addedpublic int[] get(int i)
i - indexpublic void set(int i,
int[] e)
i - indexe - element to be setCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.