net.minecraft.util

public class ArrayListDeque<T>

extends AbstractList<T> implements ListAndDeque<T>

All mapped superinterfaces:

ListAndDeque

axm
net.minecraft.util.ArrayListDeque
net.minecraft.class_8623
net.minecraft.util.collection.ArrayListDeque
net.minecraft.src.C_290101_

Field summary

Modifier and TypeField
private static final int
a
MIN_GROWTH
field_45067
MISSING
f_291793_
private Object[]
b
contents
field_45068
array
f_291627_
private int
c
head
field_45069
startIndex
f_290855_
private int
d
size
field_45070
size
f_291128_

Constructor summary

ModifierConstructor
public ()
public (int size)

Method summary

Modifier and TypeMethod
public int
size()
size()
size()
public int
a()
capacity()
method_52450()
getArrayLength()
m_296007_()
private int
a(int arg0)
getIndex(int arg0)
method_52451(int arg0)
wrap(int index)
m_294983_(int arg0)
public T
get(int arg0)
get(int arg0)
get(int arg0)
get(int index)
get(int arg0)
private static void
a(int arg0, int arg1)
verifyIndexInRange(int arg0, int arg1)
method_52452(int arg0, int arg1)
checkBounds(int start, int end)
m_292853_(int p_299791_, int p_299333_)
private void
b(int arg0)
verifyIndexInRange(int arg0)
method_52455(int arg0)
checkBounds(int index)
m_295904_(int arg0)
private T
c(int arg0)
getInner(int arg0)
method_52456(int arg0)
getRaw(int index)
m_294419_(int arg0)
public T
set(int arg0, T arg1)
set(int arg0, T arg1)
set(int arg0, T arg1)
set(int index, T value)
set(int p_298094_, T arg1)
public void
add(int arg0, T arg1)
add(int arg0, T arg1)
add(int arg0, T arg1)
add(int index, T value)
add(int p_300734_, T arg1)
private void
c()
grow()
method_52454()
enlarge()
m_295184_()
public T
remove(int arg0)
remove(int arg0)
remove(int arg0)
remove(int index)
remove(int arg0)
public boolean
removeIf(Predicate<? super T> arg0)
removeIf(Predicate<? super T> arg0)
removeIf(Predicate<? super T> arg0)
removeIf(Predicate<? super T> predicate)
removeIf(Predicate<? super T> arg0)
private void
a(Object[] arg0, int arg1)
copyCount(Object[] arg0, int arg1)
method_52453(Object[] arg0, int arg1)
copyTo(Object[] array, int size)
m_294976_(Object[] p_298513_, int arg1)
public void
replaceAll(UnaryOperator<T> arg0)
replaceAll(UnaryOperator<T> arg0)
replaceAll(UnaryOperator<T> arg0)
replaceAll(UnaryOperator<T> mapper)
replaceAll(UnaryOperator<T> arg0)
public void
forEach(Consumer<? super T> arg0)
forEach(Consumer<? super T> arg0)
forEach(Consumer<? super T> arg0)
forEach(Consumer<? super T> consumer)
forEach(Consumer<? super T> arg0)
public void
addFirst(T arg0)
addFirst(T arg0)
addFirst(T arg0)
addFirst(T value)
addFirst(T arg0)
public void
addLast(T arg0)
addLast(T arg0)
addLast(T arg0)
addLast(T value)
addLast(T arg0)
public boolean
offerFirst(T arg0)
offerFirst(T arg0)
offerFirst(T arg0)
offerFirst(T value)
offerFirst(T arg0)
public boolean
offerLast(T arg0)
offerLast(T arg0)
offerLast(T arg0)
offerLast(T value)
offerLast(T arg0)
public T
removeFirst()
removeFirst()
removeFirst()
public T
removeLast()
removeLast()
removeLast()
public ListAndDeque<T>
b()
reversed()
method_59513()
reversed()
reversed()
public T
pollFirst()
pollFirst()
pollFirst()
public T
pollLast()
pollLast()
pollLast()
public T
getFirst()
getFirst()
getFirst()
public T
getLast()
getLast()
getLast()
public T
peekFirst()
peekFirst()
peekFirst()
public T
peekLast()
peekLast()
peekLast()
public boolean
removeFirstOccurrence(Object arg0)
removeFirstOccurrence(Object arg0)
removeFirstOccurrence(Object arg0)
removeFirstOccurrence(Object value)
removeFirstOccurrence(Object arg0)
public boolean
removeLastOccurrence(Object arg0)
removeLastOccurrence(Object arg0)
removeLastOccurrence(Object arg0)
removeLastOccurrence(Object value)
removeLastOccurrence(Object arg0)
public Iterator<T>
descendingIterator()
descendingIterator()
descendingIterator()