Appends the specified value to the end of the list.
Appends the specified collection to this CrisprList
.
Appends the specified list to this list.
Returns a copy of this CrisprList
.
CrisprList.copy(int fromIndex,
int toIndex)
Returns a copy of the specified segment.
CrisprList.cut(int fromIndex,
int toIndex)
Removes and returns a segment from the list.
Reorders the elements according to the specified criteria.
Reorders the elements according to the specified criteria.
Embeds the specified list in this list.
CrisprList.embed(int myIndex,
CrisprList<? extends E> other,
int itsFromIndex,
int itsToIndex)
Removes a segment from the specified list and embeds it in this list.
CrisprList.exchange(int myFromIndex,
int myToIndex,
CrisprList<E> other,
int itsFromIndex,
int itsToIndex)
Exchanges list segments between this list and the specified list.
CrisprList.insert(int index,
E value)
Inserts a value into the list.
Inserts the specified collection at the specified index, right-shifting the elements
at and following the index.
Concatenates the provided CrisprList
instances.
Removes and returns a segment from the start of the list.
CrisprList.move(int fromIndex,
int toIndex,
int newFromIndex)
Moves a list segment forwards or backwards through the list.
Returns a new, empty CrisprList
.
Returns a new CrisprList
containing the specified element.
CrisprList.of(E e0,
E e1)
Returns a new CrisprList
containing the specified elements.
CrisprList.of(E e0,
E e1,
E e2,
E... moreElems)
Returns a new CrisprList
containing the specified elements.
Returns a new CrisprList
containing the specified elements.
Inserts this list into the specified list at the specified position.
Inserts the specified value at the start of the list, right-shifting the original
elements.
Inserts the specified collection at the start of the list, right-shifting the
original elements.
Removes and returns a segment from the end of the list.
Replaces the segment between fromIndex
and toIndex
with the elements
in the specified list.
Replaces the segment between fromIndex
and toIndex
with the elements
in the specified collection.
Reverses the order of the elements in this CrisprList
.
CrisprList.set(int index,
E e0,
E e1,
E... moreElems)
Overwrites the elements at, and following the specified index with the provided
values.
CrisprList.shrink(int fromIndex,
int toIndex)
Shrinks the list to between the specified boundaries.
CrisprList.swap(int from1,
int to1,
int from2,
int to2)
Swaps the two list segments defined by the specified boundary indexes.
Appends the specified list to this list.
Embeds the specified list in this list.
CrisprList.embed(int myIndex,
CrisprList<? extends E> other,
int itsFromIndex,
int itsToIndex)
Removes a segment from the specified list and embeds it in this list.
CrisprList.exchange(int myFromIndex,
int myToIndex,
CrisprList<E> other,
int itsFromIndex,
int itsToIndex)
Exchanges list segments between this list and the specified list.
Inserts this list into the specified list at the specified position.
Replaces the segment between fromIndex
and toIndex
with the elements
in the specified list.