Package com.powsybl.commons.util.trove
Class TBooleanArrayList
java.lang.Object
com.powsybl.commons.util.trove.TBooleanArrayList
TBooleanArrayList implement (not provided by trove4j) based on TByteArrayList.
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TBooleanArrayList
public TBooleanArrayList(int capacity)
-
-
Method Details
-
add
public boolean add(boolean val) -
get
public boolean get(int offset) -
ensureCapacity
public void ensureCapacity(int capacity) -
removeAt
public boolean removeAt(int offset) -
remove
public void remove(int offset, int length) -
size
public int size() -
set
public boolean set(int offset, boolean val) -
fill
public void fill(int fromIndex, int toIndex, boolean val)
-