protected static class BigList.ImmutableBigList<E> extends BigList<E>
BigList.ImmutableBigList<E>IList.IReadOnlyList<E>, IList.IReadOnlyListFromArray<E>, IList.IReadOnlyListFromCollection<E>, IList.IReadOnlyListFromList<E>, IList.IReadOnlyListFromMult<E>| Modifier | Constructor and Description |
|---|---|
protected |
ImmutableBigList(BigList<E> that)
Private constructor used internally.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doAdd(int index,
E elem)
Helper method for adding an element to the list.
|
protected void |
doClear() |
protected void |
doModify()
This method is called internally before elements are allocated or freed.
|
protected E |
doRemove(int index)
Helper method to remove an element.
|
protected void |
doRemoveAll(int index,
int len)
Remove specified range of elements from list.
|
protected E |
doReSet(int index,
E elem)
Sets an element at specified position.
|
protected E |
doSet(int index,
E elem)
Helper method for setting an element in the list.
|
binarySearch, blockSize, capacity, clone, copy, create, create, create, doAddAll, doAssign, doClone, doCreate, doEnsureCapacity, doGet, EMPTY, finalize, getDefaultElem, size, sort, trimToSize, unmodifiableListadd, add, addAll, addAll, addAll, addAll, addArray, addArray, addArray, addArray, addFirst, addIfAbsent, addLast, addMult, addMult, binarySearch, checkIndex, checkIndexAdd, checkLength, checkLengths, checkNonNull, checkRange, clear, contains, containsAll, containsAny, containsIf, copy, descendingIterator, doCreateArray, doGetAll, doReplaceAll, doRotate, drag, element, ensureCapacity, equals, extract, extractIf, fill, filter, filteredList, get, getAll, getAll, getCount, getDistinct, getFirst, getIf, getLast, getSingle, getSingleOrEmpty, hashCode, indexOf, indexOf, indexOfIf, initAll, initAll, initArray, initMult, isEmpty, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, mappedList, move, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, put, putAll, putAll, putArray, putMult, remove, remove, remove, remove, removeAll, removeAll, removeAll, removeFirst, removeFirstOccurrence, removeIf, removeLast, removeLastOccurrence, replaceAll, replaceAll, replaceArray, replaceMult, resize, retainAll, retainAll, retainIf, reverse, reverse, rotate, rotate, set, setAll, setAll, setArray, setArray, setMult, sort, swap, toArray, toArray, toArray, toArray, toArray, toArray, toString, transferCopy, transferMove, transferRemove, transferSwap, transform, transformedListprotected boolean doAdd(int index,
E elem)
IListprotected E doSet(int index, E elem)
IListprotected E doReSet(int index, E elem)
IListprotected E doRemove(int index)
IListprotected void doRemoveAll(int index,
int len)
IListdoRemoveAll in class BigList<E>index - index of first element to removelen - number of elements to remove