public final class BoolList extends ElementList
CAP, size| Constructor and Description |
|---|
BoolList()
Default constructor.
|
BoolList(int c)
Constructor, specifying the initial array size.
|
public BoolList()
public BoolList(int c)
c - initial sizepublic void add(boolean e)
e - element to be addedpublic boolean get(int i)
i - indexpublic void set(int i,
boolean e)
i - indexe - element to be setpublic boolean[] toArray()