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