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