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