Package com.powsybl.commons.util.trove
Class TBooleanArrayList
- java.lang.Object
-
- com.powsybl.commons.util.trove.TBooleanArrayList
-
public class TBooleanArrayList extends Object
TBooleanArrayList implement (not provided by trove4j) based on TByteArrayList.- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description TBooleanArrayList(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(boolean val)
void
ensureCapacity(int capacity)
void
fill(int fromIndex, int toIndex, boolean val)
boolean
get(int offset)
void
remove(int offset, int length)
boolean
removeAt(int offset)
boolean
set(int offset, boolean val)
int
size()
-
-
-
Method Detail
-
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)
-
-