| Package | Description |
|---|---|
| org.magicwerk.brownies.collections.primitive |
This packages contains implementations of GapList for primitive data types.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanGapList |
BooleanGapList.copy()
Returns a shallow copy of this BooleanGapList instance
(the new list will contain the same elements as the source list, i.e. the elements themselves are not copied).
|
static BooleanGapList |
BooleanGapList.create()
Create new list.
|
static BooleanGapList |
BooleanGapList.create(boolean... elems)
Create new list with specified elements.
|
static BooleanGapList |
BooleanGapList.create(java.util.Collection<java.lang.Boolean> coll)
Create new list with specified elements.
|
static BooleanGapList |
BooleanGapList.create(int capacity)
Create new list with specified capacity.
|
static BooleanGapList |
BooleanGapList.EMPTY() |
BooleanGapList |
BooleanGapList.getAll(int index,
int len)
Returns specified range of elements from list.
|
BooleanGapList |
BooleanGapList.unmodifiableList()
Returns an unmodifiable view of this list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BooleanGapList.addAll(BooleanGapList list)
Adds all of the elements in the specified list into this list.
|
boolean |
BooleanGapList.addAll(int index,
BooleanGapList list)
Inserts all of the elements in the specified list into this
list, starting at the specified position.
|
static void |
BooleanGapList.copy(BooleanGapList src,
int srcIndex,
BooleanGapList dst,
int dstIndex,
int len)
Copies elements from one BooleanGapList to another.
|
static void |
BooleanGapList.move(BooleanGapList src,
int srcIndex,
BooleanGapList dst,
int dstIndex,
int len)
Moves elements from one BooleanGapList to another.
|
boolean |
BooleanGapList.removeAll(BooleanGapList coll) |
boolean |
BooleanGapList.retainAll(BooleanGapList coll) |
void |
BooleanGapList.setAll(int index,
BooleanGapList list)
Replaces the specified elements.
|
static void |
BooleanGapList.swap(BooleanGapList src,
int srcIndex,
BooleanGapList dst,
int dstIndex,
int len)
Swaps elements from two GapLists.
|