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