Package net.minecraft.util.collection
Class ArrayListDeque<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
net.minecraft.util.collection.ArrayListDeque<T>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<T>
,Collection<T>
,Deque<T>
,List<T>
,Queue<T>
,RandomAccess
public class ArrayListDeque<T>
extends AbstractList<T>
implements Serializable, Cloneable, Deque<T>, RandomAccess
- See Also:
- Mappings:
Namespace Name official aqo
intermediary net/minecraft/class_8623
named net/minecraft/util/collection/ArrayListDeque
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate Object[]
private static final int
private int
private int
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
private void
checkBounds
(int index) private static void
checkBounds
(int start, int end) private void
element()
private void
enlarge()
void
get
(int index) int
getFirst()
getLast()
private T
getRaw
(int index) boolean
boolean
offerFirst
(T value) boolean
peek()
peekLast()
poll()
pollLast()
pop()
void
remove()
remove
(int index) boolean
removeFirstOccurrence
(Object value) boolean
boolean
removeLastOccurrence
(Object value) void
replaceAll
(UnaryOperator<T> mapper) int
size()
private int
wrap
(int index) Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Field Details
-
MISSING
private static final int MISSING- See Also:
- Mappings:
Namespace Name Mixin selector official a
Laqo;a:I
intermediary field_45067
Lnet/minecraft/class_8623;field_45067:I
named MISSING
Lnet/minecraft/util/collection/ArrayListDeque;MISSING:I
-
array
- Mappings:
Namespace Name Mixin selector official b
Laqo;b:[Ljava/lang/Object;
intermediary field_45068
Lnet/minecraft/class_8623;field_45068:[Ljava/lang/Object;
named array
Lnet/minecraft/util/collection/ArrayListDeque;array:[Ljava/lang/Object;
-
startIndex
private int startIndex- Mappings:
Namespace Name Mixin selector official c
Laqo;c:I
intermediary field_45069
Lnet/minecraft/class_8623;field_45069:I
named startIndex
Lnet/minecraft/util/collection/ArrayListDeque;startIndex:I
-
size
private int size- Mappings:
Namespace Name Mixin selector official d
Laqo;d:I
intermediary field_45070
Lnet/minecraft/class_8623;field_45070:I
named size
Lnet/minecraft/util/collection/ArrayListDeque;size:I
-
-
Constructor Details
-
ArrayListDeque
public ArrayListDeque() -
ArrayListDeque
public ArrayListDeque(int size) - Mappings:
Namespace Name Mixin selector official <init>
Laqo;<init>(I)V
intermediary <init>
Lnet/minecraft/class_8623;<init>(I)V
named <init>
Lnet/minecraft/util/collection/ArrayListDeque;<init>(I)V
-
-
Method Details
-
size
public int size() -
getArrayLength
public int getArrayLength()- Mappings:
Namespace Name Mixin selector official a
Laqo;a()I
intermediary method_52450
Lnet/minecraft/class_8623;method_52450()I
named getArrayLength
Lnet/minecraft/util/collection/ArrayListDeque;getArrayLength()I
-
wrap
private int wrap(int index) - Mappings:
Namespace Name Mixin selector official a
Laqo;a(I)I
intermediary method_52451
Lnet/minecraft/class_8623;method_52451(I)I
named wrap
Lnet/minecraft/util/collection/ArrayListDeque;wrap(I)I
-
get
- Specified by:
get
in interfaceList<T>
- Specified by:
get
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector official get
Laqo;get(I)Ljava/lang/Object;
intermediary get
Lnet/minecraft/class_8623;get(I)Ljava/lang/Object;
named get
Lnet/minecraft/util/collection/ArrayListDeque;get(I)Ljava/lang/Object;
-
checkBounds
private static void checkBounds(int start, int end) - Mappings:
Namespace Name Mixin selector official a
Laqo;a(II)V
intermediary method_52452
Lnet/minecraft/class_8623;method_52452(II)V
named checkBounds
Lnet/minecraft/util/collection/ArrayListDeque;checkBounds(II)V
-
checkBounds
private void checkBounds(int index) - Mappings:
Namespace Name Mixin selector official b
Laqo;b(I)V
intermediary method_52455
Lnet/minecraft/class_8623;method_52455(I)V
named checkBounds
Lnet/minecraft/util/collection/ArrayListDeque;checkBounds(I)V
-
getRaw
- Mappings:
Namespace Name Mixin selector official c
Laqo;c(I)Ljava/lang/Object;
intermediary method_52456
Lnet/minecraft/class_8623;method_52456(I)Ljava/lang/Object;
named getRaw
Lnet/minecraft/util/collection/ArrayListDeque;getRaw(I)Ljava/lang/Object;
-
set
- Specified by:
set
in interfaceList<T>
- Overrides:
set
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector official set
Laqo;set(ILjava/lang/Object;)Ljava/lang/Object;
intermediary set
Lnet/minecraft/class_8623;set(ILjava/lang/Object;)Ljava/lang/Object;
named set
Lnet/minecraft/util/collection/ArrayListDeque;set(ILjava/lang/Object;)Ljava/lang/Object;
-
add
- Specified by:
add
in interfaceList<T>
- Overrides:
add
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector official add
Laqo;add(ILjava/lang/Object;)V
intermediary add
Lnet/minecraft/class_8623;add(ILjava/lang/Object;)V
named add
Lnet/minecraft/util/collection/ArrayListDeque;add(ILjava/lang/Object;)V
-
enlarge
private void enlarge()- Mappings:
Namespace Name Mixin selector official b
Laqo;b()V
intermediary method_52454
Lnet/minecraft/class_8623;method_52454()V
named enlarge
Lnet/minecraft/util/collection/ArrayListDeque;enlarge()V
-
remove
- Specified by:
remove
in interfaceList<T>
- Overrides:
remove
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector official remove
Laqo;remove(I)Ljava/lang/Object;
intermediary remove
Lnet/minecraft/class_8623;remove(I)Ljava/lang/Object;
named remove
Lnet/minecraft/util/collection/ArrayListDeque;remove(I)Ljava/lang/Object;
-
removeIf
- Specified by:
removeIf
in interfaceCollection<T>
- Mappings:
Namespace Name Mixin selector official removeIf
Laqo;removeIf(Ljava/util/function/Predicate;)Z
intermediary removeIf
Lnet/minecraft/class_8623;removeIf(Ljava/util/function/Predicate;)Z
named removeIf
Lnet/minecraft/util/collection/ArrayListDeque;removeIf(Ljava/util/function/Predicate;)Z
-
copyTo
- Mappings:
Namespace Name Mixin selector official a
Laqo;a([Ljava/lang/Object;I)V
intermediary method_52453
Lnet/minecraft/class_8623;method_52453([Ljava/lang/Object;I)V
named copyTo
Lnet/minecraft/util/collection/ArrayListDeque;copyTo([Ljava/lang/Object;I)V
-
replaceAll
- Specified by:
replaceAll
in interfaceList<T>
- Mappings:
Namespace Name Mixin selector official replaceAll
Laqo;replaceAll(Ljava/util/function/UnaryOperator;)V
intermediary replaceAll
Lnet/minecraft/class_8623;replaceAll(Ljava/util/function/UnaryOperator;)V
named replaceAll
Lnet/minecraft/util/collection/ArrayListDeque;replaceAll(Ljava/util/function/UnaryOperator;)V
-
forEach
- Specified by:
forEach
in interfaceIterable<T>
- Mappings:
Namespace Name Mixin selector official forEach
Laqo;forEach(Ljava/util/function/Consumer;)V
intermediary forEach
Lnet/minecraft/class_8623;forEach(Ljava/util/function/Consumer;)V
named forEach
Lnet/minecraft/util/collection/ArrayListDeque;forEach(Ljava/util/function/Consumer;)V
-
addFirst
- Specified by:
addFirst
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector official addFirst
Laqo;addFirst(Ljava/lang/Object;)V
intermediary addFirst
Lnet/minecraft/class_8623;addFirst(Ljava/lang/Object;)V
named addFirst
Lnet/minecraft/util/collection/ArrayListDeque;addFirst(Ljava/lang/Object;)V
-
addLast
-
offerFirst
- Specified by:
offerFirst
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector official offerFirst
Laqo;offerFirst(Ljava/lang/Object;)Z
intermediary offerFirst
Lnet/minecraft/class_8623;offerFirst(Ljava/lang/Object;)Z
named offerFirst
Lnet/minecraft/util/collection/ArrayListDeque;offerFirst(Ljava/lang/Object;)Z
-
offerLast
- Specified by:
offerLast
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector official offerLast
Laqo;offerLast(Ljava/lang/Object;)Z
intermediary offerLast
Lnet/minecraft/class_8623;offerLast(Ljava/lang/Object;)Z
named offerLast
Lnet/minecraft/util/collection/ArrayListDeque;offerLast(Ljava/lang/Object;)Z
-
removeFirst
- Specified by:
removeFirst
in interfaceDeque<T>
-
removeLast
- Specified by:
removeLast
in interfaceDeque<T>
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrence
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector official removeFirstOccurrence
Laqo;removeFirstOccurrence(Ljava/lang/Object;)Z
intermediary removeFirstOccurrence
Lnet/minecraft/class_8623;removeFirstOccurrence(Ljava/lang/Object;)Z
named removeFirstOccurrence
Lnet/minecraft/util/collection/ArrayListDeque;removeFirstOccurrence(Ljava/lang/Object;)Z
-
removeLastOccurrence
- Specified by:
removeLastOccurrence
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector official removeLastOccurrence
Laqo;removeLastOccurrence(Ljava/lang/Object;)Z
intermediary removeLastOccurrence
Lnet/minecraft/class_8623;removeLastOccurrence(Ljava/lang/Object;)Z
named removeLastOccurrence
Lnet/minecraft/util/collection/ArrayListDeque;removeLastOccurrence(Ljava/lang/Object;)Z
-
offer
- Specified by:
offer
in interfaceDeque<T>
- Specified by:
offer
in interfaceQueue<T>
- Mappings:
Namespace Name Mixin selector official offer
Laqo;offer(Ljava/lang/Object;)Z
intermediary offer
Lnet/minecraft/class_8623;offer(Ljava/lang/Object;)Z
named offer
Lnet/minecraft/util/collection/ArrayListDeque;offer(Ljava/lang/Object;)Z
-
remove
-
poll
-
element
-
peek
-
push
-
pop
-
descendingIterator
- Specified by:
descendingIterator
in interfaceDeque<T>
-