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