public class CodecOutputList<T> extends AbstractList<T> implements RandomAccess
AbstractList implementation which is used within our codec base classes.modCount| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
add(Object element) |
void |
clear() |
T |
get(int index) |
T |
getUnsafe(int index)
Returns the element on the given index.
|
static <T> CodecOutputList<T> |
newInstance() |
void |
recycle()
Recycle the array which will clear it and null out all entries in the internal storage.
|
T |
remove(int index) |
T |
set(int index,
Object element) |
int |
size() |
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic static <T> CodecOutputList<T> newInstance()
public T get(int index)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>public boolean add(Object element)
add in interface Collection<T>add in interface List<T>add in class AbstractList<T>public void add(int index,
Object element)
public T remove(int index)
public void clear()
clear in interface Collection<T>clear in interface List<T>clear in class AbstractList<T>public void recycle()
public T getUnsafe(int index)
Copyright © 2023. All rights reserved.