net.minecraft.util.collection

public class ArrayListDeque<T>

extends AbstractList<T> implements ListDeque<T>

All mapped superinterfaces:

ListDeque

net.minecraft.util.ArrayListDeque
net.minecraft.class_8623
net.minecraft.util.collection.ArrayListDeque

Field summary

Modifier and TypeField
private static final int
MIN_GROWTH
field_45067
MISSING
private Object[]
contents
field_45068
array
private int
head
field_45069
startIndex
private int
size
field_45070
size

Constructor summary

ModifierConstructor
public ()
public (int size)

Method summary

Modifier and TypeMethod
public int
size()
public int
capacity()
method_52450()
getArrayLength()
private int
getIndex(int index)
method_52451(int arg0)
wrap(int index)
public T
get(int index)
get(int arg0)
get(int index)
private static void
verifyIndexInRange(int index, int size)
method_52452(int arg0, int arg1)
checkBounds(int start, int end)
private void
verifyIndexInRange(int index)
method_52455(int arg0)
checkBounds(int index)
private T
getInner(int innerIndex)
method_52456(int arg0)
getRaw(int index)
public T
set(int index, T element)
set(int arg0, T arg1)
set(int index, T value)
public void
add(int index, T element)
add(int arg0, T arg1)
add(int index, T value)
private void
grow()
method_52454()
enlarge()
public T
remove(int index)
remove(int arg0)
remove(int index)
public boolean
removeIf(Predicate<? super T> filter)
removeIf(Predicate<? super T> arg0)
removeIf(Predicate<? super T> predicate)
private void
copyCount(Object[] newContents, int count)
method_52453(Object[] arg0, int arg1)
copyTo(Object[] array, int size)
public void
replaceAll(UnaryOperator<T> operator)
replaceAll(UnaryOperator<T> arg0)
replaceAll(UnaryOperator<T> mapper)
public void
forEach(Consumer<? super T> action)
forEach(Consumer<? super T> arg0)
forEach(Consumer<? super T> consumer)
public void
addFirst(T value)
addFirst(T arg0)
addFirst(T value)
public void
addLast(T value)
addLast(T arg0)
addLast(T value)
public boolean
offerFirst(T value)
offerFirst(T arg0)
offerFirst(T value)
public boolean
offerLast(T value)
offerLast(T arg0)
offerLast(T value)
public T
removeFirst()
public T
removeLast()
public ListDeque<T>
reversed()
method_59513()
reversed()
public T
pollFirst()
public T
pollLast()
public T
getFirst()
public T
getLast()
public T
peekFirst()
public T
peekLast()
public boolean
removeFirstOccurrence(Object o)
removeFirstOccurrence(Object arg0)
removeFirstOccurrence(Object value)
public boolean
removeLastOccurrence(Object o)
removeLastOccurrence(Object arg0)
removeLastOccurrence(Object value)
public Iterator<T>
descendingIterator()
public List
reversed()
method_59513()
reversed()
public SequencedCollection
reversed()
method_59513()
reversed()
public Deque
reversed()
method_59513()
reversed()