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