Package net.minecraft.util.collection
Class ArrayListDeque<T>
java.lang.Object
java.util.AbstractCollection<T>
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
,SequencedCollection<T>
,ListDeque<T>
- See Also:
- Mappings:
Namespace Name named net/minecraft/util/collection/ArrayListDeque
intermediary net/minecraft/class_8623
official ayr
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
-
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
private void
enlarge()
void
get
(int index) int
getFirst()
getLast()
private T
getRaw
(int index) boolean
offerFirst
(T value) boolean
peekLast()
pollLast()
remove
(int index) boolean
removeFirstOccurrence
(Object value) boolean
boolean
removeLastOccurrence
(Object value) void
replaceAll
(UnaryOperator<T> mapper) reversed()
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
Methods inherited from interface java.util.List
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, sort, spliterator, subList, toArray, toArray
-
Field Details
-
MISSING
private static final int MISSING- See Also:
- Mappings:
Namespace Name Mixin selector named MISSING
Lnet/minecraft/util/collection/ArrayListDeque;MISSING:I
intermediary field_45067
Lnet/minecraft/class_8623;field_45067:I
official a
Layr;a:I
-
array
- Mappings:
Namespace Name Mixin selector named array
Lnet/minecraft/util/collection/ArrayListDeque;array:[Ljava/lang/Object;
intermediary field_45068
Lnet/minecraft/class_8623;field_45068:[Ljava/lang/Object;
official b
Layr;b:[Ljava/lang/Object;
-
startIndex
private int startIndex- Mappings:
Namespace Name Mixin selector named startIndex
Lnet/minecraft/util/collection/ArrayListDeque;startIndex:I
intermediary field_45069
Lnet/minecraft/class_8623;field_45069:I
official c
Layr;c:I
-
size
private int size- Mappings:
Namespace Name Mixin selector named size
Lnet/minecraft/util/collection/ArrayListDeque;size:I
intermediary field_45070
Lnet/minecraft/class_8623;field_45070:I
official d
Layr;d:I
-
-
Constructor Details
-
ArrayListDeque
public ArrayListDeque() -
ArrayListDeque
public ArrayListDeque(int size) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/collection/ArrayListDeque;<init>(I)V
intermediary <init>
Lnet/minecraft/class_8623;<init>(I)V
official <init>
Layr;<init>(I)V
-
-
Method Details
-
size
public int size() -
getArrayLength
public int getArrayLength()- Mappings:
Namespace Name Mixin selector named getArrayLength
Lnet/minecraft/util/collection/ArrayListDeque;getArrayLength()I
intermediary method_52450
Lnet/minecraft/class_8623;method_52450()I
official a
Layr;a()I
-
wrap
private int wrap(int index) - Mappings:
Namespace Name Mixin selector named wrap
Lnet/minecraft/util/collection/ArrayListDeque;wrap(I)I
intermediary method_52451
Lnet/minecraft/class_8623;method_52451(I)I
official a
Layr;a(I)I
-
get
- Specified by:
get
in interfaceList<T>
- Specified by:
get
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/util/collection/ArrayListDeque;get(I)Ljava/lang/Object;
intermediary get
Lnet/minecraft/class_8623;get(I)Ljava/lang/Object;
official get
Layr;get(I)Ljava/lang/Object;
-
checkBounds
private static void checkBounds(int start, int end) - Mappings:
Namespace Name Mixin selector named checkBounds
Lnet/minecraft/util/collection/ArrayListDeque;checkBounds(II)V
intermediary method_52452
Lnet/minecraft/class_8623;method_52452(II)V
official a
Layr;a(II)V
-
checkBounds
private void checkBounds(int index) - Mappings:
Namespace Name Mixin selector named checkBounds
Lnet/minecraft/util/collection/ArrayListDeque;checkBounds(I)V
intermediary method_52455
Lnet/minecraft/class_8623;method_52455(I)V
official b
Layr;b(I)V
-
getRaw
- Mappings:
Namespace Name Mixin selector named getRaw
Lnet/minecraft/util/collection/ArrayListDeque;getRaw(I)Ljava/lang/Object;
intermediary method_52456
Lnet/minecraft/class_8623;method_52456(I)Ljava/lang/Object;
official c
Layr;c(I)Ljava/lang/Object;
-
set
- Specified by:
set
in interfaceList<T>
- Overrides:
set
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/util/collection/ArrayListDeque;set(ILjava/lang/Object;)Ljava/lang/Object;
intermediary set
Lnet/minecraft/class_8623;set(ILjava/lang/Object;)Ljava/lang/Object;
official set
Layr;set(ILjava/lang/Object;)Ljava/lang/Object;
-
add
- Specified by:
add
in interfaceList<T>
- Overrides:
add
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/util/collection/ArrayListDeque;add(ILjava/lang/Object;)V
intermediary add
Lnet/minecraft/class_8623;add(ILjava/lang/Object;)V
official add
Layr;add(ILjava/lang/Object;)V
-
enlarge
private void enlarge()- Mappings:
Namespace Name Mixin selector named enlarge
Lnet/minecraft/util/collection/ArrayListDeque;enlarge()V
intermediary method_52454
Lnet/minecraft/class_8623;method_52454()V
official c
Layr;c()V
-
remove
- Specified by:
remove
in interfaceList<T>
- Overrides:
remove
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/util/collection/ArrayListDeque;remove(I)Ljava/lang/Object;
intermediary remove
Lnet/minecraft/class_8623;remove(I)Ljava/lang/Object;
official remove
Layr;remove(I)Ljava/lang/Object;
-
removeIf
- Specified by:
removeIf
in interfaceCollection<T>
- Mappings:
Namespace Name Mixin selector named removeIf
Lnet/minecraft/util/collection/ArrayListDeque;removeIf(Ljava/util/function/Predicate;)Z
intermediary removeIf
Lnet/minecraft/class_8623;removeIf(Ljava/util/function/Predicate;)Z
official removeIf
Layr;removeIf(Ljava/util/function/Predicate;)Z
-
copyTo
- Mappings:
Namespace Name Mixin selector named copyTo
Lnet/minecraft/util/collection/ArrayListDeque;copyTo([Ljava/lang/Object;I)V
intermediary method_52453
Lnet/minecraft/class_8623;method_52453([Ljava/lang/Object;I)V
official a
Layr;a([Ljava/lang/Object;I)V
-
replaceAll
- Specified by:
replaceAll
in interfaceList<T>
- Mappings:
Namespace Name Mixin selector named replaceAll
Lnet/minecraft/util/collection/ArrayListDeque;replaceAll(Ljava/util/function/UnaryOperator;)V
intermediary replaceAll
Lnet/minecraft/class_8623;replaceAll(Ljava/util/function/UnaryOperator;)V
official replaceAll
Layr;replaceAll(Ljava/util/function/UnaryOperator;)V
-
forEach
- Specified by:
forEach
in interfaceIterable<T>
- Mappings:
Namespace Name Mixin selector named forEach
Lnet/minecraft/util/collection/ArrayListDeque;forEach(Ljava/util/function/Consumer;)V
intermediary forEach
Lnet/minecraft/class_8623;forEach(Ljava/util/function/Consumer;)V
official forEach
Layr;forEach(Ljava/util/function/Consumer;)V
-
addFirst
- Specified by:
addFirst
in interfaceDeque<T>
- Specified by:
addFirst
in interfaceList<T>
- Specified by:
addFirst
in interfaceListDeque<T>
- Specified by:
addFirst
in interfaceSequencedCollection<T>
- Mappings:
Namespace Name Mixin selector named addFirst
Lnet/minecraft/util/collection/ArrayListDeque;addFirst(Ljava/lang/Object;)V
intermediary addFirst
Lnet/minecraft/class_8623;addFirst(Ljava/lang/Object;)V
official addFirst
Layr;addFirst(Ljava/lang/Object;)V
-
addLast
- Specified by:
addLast
in interfaceDeque<T>
- Specified by:
addLast
in interfaceList<T>
- Specified by:
addLast
in interfaceListDeque<T>
- Specified by:
addLast
in interfaceSequencedCollection<T>
- Mappings:
Namespace Name Mixin selector named addLast
Lnet/minecraft/util/collection/ArrayListDeque;addLast(Ljava/lang/Object;)V
intermediary addLast
Lnet/minecraft/class_8623;addLast(Ljava/lang/Object;)V
official addLast
Layr;addLast(Ljava/lang/Object;)V
-
offerFirst
- Specified by:
offerFirst
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector named offerFirst
Lnet/minecraft/util/collection/ArrayListDeque;offerFirst(Ljava/lang/Object;)Z
intermediary offerFirst
Lnet/minecraft/class_8623;offerFirst(Ljava/lang/Object;)Z
official offerFirst
Layr;offerFirst(Ljava/lang/Object;)Z
-
offerLast
- Specified by:
offerLast
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector named offerLast
Lnet/minecraft/util/collection/ArrayListDeque;offerLast(Ljava/lang/Object;)Z
intermediary offerLast
Lnet/minecraft/class_8623;offerLast(Ljava/lang/Object;)Z
official offerLast
Layr;offerLast(Ljava/lang/Object;)Z
-
removeFirst
- Specified by:
removeFirst
in interfaceDeque<T>
- Specified by:
removeFirst
in interfaceList<T>
- Specified by:
removeFirst
in interfaceListDeque<T>
- Specified by:
removeFirst
in interfaceSequencedCollection<T>
-
removeLast
- Specified by:
removeLast
in interfaceDeque<T>
- Specified by:
removeLast
in interfaceList<T>
- Specified by:
removeLast
in interfaceListDeque<T>
- Specified by:
removeLast
in interfaceSequencedCollection<T>
-
reversed
- Specified by:
reversed
in interfaceDeque<T>
- Specified by:
reversed
in interfaceList<T>
- Specified by:
reversed
in interfaceListDeque<T>
- Specified by:
reversed
in interfaceSequencedCollection<T>
- Mappings:
Namespace Name Mixin selector named reversed
Lnet/minecraft/util/collection/ArrayListDeque;reversed()Lnet/minecraft/util/collection/ListDeque;
intermediary method_59513
Lnet/minecraft/class_8623;method_59513()Lnet/minecraft/class_9634;
official method_59513
Layr;method_59513()Lbaa;
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrence
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector named removeFirstOccurrence
Lnet/minecraft/util/collection/ArrayListDeque;removeFirstOccurrence(Ljava/lang/Object;)Z
intermediary removeFirstOccurrence
Lnet/minecraft/class_8623;removeFirstOccurrence(Ljava/lang/Object;)Z
official removeFirstOccurrence
Layr;removeFirstOccurrence(Ljava/lang/Object;)Z
-
removeLastOccurrence
- Specified by:
removeLastOccurrence
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector named removeLastOccurrence
Lnet/minecraft/util/collection/ArrayListDeque;removeLastOccurrence(Ljava/lang/Object;)Z
intermediary removeLastOccurrence
Lnet/minecraft/class_8623;removeLastOccurrence(Ljava/lang/Object;)Z
official removeLastOccurrence
Layr;removeLastOccurrence(Ljava/lang/Object;)Z
-
descendingIterator
- Specified by:
descendingIterator
in interfaceDeque<T>
-