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 - axm
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate classprivate class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Object[]private static final intprivate intprivate intFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoidprivate voidcheckBounds(int index) private static voidcheckBounds(int start, int end) private voidprivate voidenlarge()voidget(int index) intgetFirst()getLast()private TgetRaw(int index) booleanofferFirst(T value) booleanpeekLast()pollLast()remove(int index) booleanremoveFirstOccurrence(Object value) booleanbooleanremoveLastOccurrence(Object value) voidreplaceAll(UnaryOperator<T> mapper) reversed()intsize()private intwrap(int index) Methods inherited from class java.util.AbstractListadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollectionaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArrayMethods inherited from interface java.util.Listadd, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, sort, spliterator, subList, toArray, toArray
- 
Field Details- 
MISSINGprivate 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- Laxm;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- Laxm;b:[Ljava/lang/Object;
 
- 
startIndexprivate 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- Laxm;c:I
 
- 
sizeprivate 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- Laxm;d:I
 
 
- 
- 
Constructor Details- 
ArrayListDequepublic ArrayListDeque()
- 
ArrayListDequepublic 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>- Laxm;<init>(I)V
 
 
- 
- 
Method Details- 
sizepublic int size()
- 
getArrayLengthpublic 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- Laxm;a()I
 
- 
wrapprivate 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- Laxm;a(I)I
 
- 
get- Specified by:
- getin interface- List<T>
- Specified by:
- getin class- AbstractList<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- Laxm;get(I)Ljava/lang/Object;
 
- 
checkBoundsprivate 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- Laxm;a(II)V
 
- 
checkBoundsprivate 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- Laxm;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- Laxm;c(I)Ljava/lang/Object;
 
- 
set- Specified by:
- setin interface- List<T>
- Overrides:
- setin class- AbstractList<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- Laxm;set(ILjava/lang/Object;)Ljava/lang/Object;
 
- 
add- Specified by:
- addin interface- List<T>
- Overrides:
- addin class- AbstractList<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- Laxm;add(ILjava/lang/Object;)V
 
- 
enlargeprivate 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- Laxm;c()V
 
- 
remove- Specified by:
- removein interface- List<T>
- Overrides:
- removein class- AbstractList<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- Laxm;remove(I)Ljava/lang/Object;
 
- 
removeIf- Specified by:
- removeIfin interface- Collection<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- Laxm;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- Laxm;a([Ljava/lang/Object;I)V
 
- 
replaceAll- Specified by:
- replaceAllin interface- List<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- Laxm;replaceAll(Ljava/util/function/UnaryOperator;)V
 
- 
forEach- Specified by:
- forEachin interface- Iterable<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- Laxm;forEach(Ljava/util/function/Consumer;)V
 
- 
addFirst- Specified by:
- addFirstin interface- Deque<T>
- Specified by:
- addFirstin interface- List<T>
- Specified by:
- addFirstin interface- ListDeque<T>
- Specified by:
- addFirstin interface- SequencedCollection<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- Laxm;addFirst(Ljava/lang/Object;)V
 
- 
addLast- Specified by:
- addLastin interface- Deque<T>
- Specified by:
- addLastin interface- List<T>
- Specified by:
- addLastin interface- ListDeque<T>
- Specified by:
- addLastin interface- SequencedCollection<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- Laxm;addLast(Ljava/lang/Object;)V
 
- 
offerFirst- Specified by:
- offerFirstin interface- Deque<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- Laxm;offerFirst(Ljava/lang/Object;)Z
 
- 
offerLast- Specified by:
- offerLastin interface- Deque<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- Laxm;offerLast(Ljava/lang/Object;)Z
 
- 
removeFirst- Specified by:
- removeFirstin interface- Deque<T>
- Specified by:
- removeFirstin interface- List<T>
- Specified by:
- removeFirstin interface- ListDeque<T>
- Specified by:
- removeFirstin interface- SequencedCollection<T>
 
- 
removeLast- Specified by:
- removeLastin interface- Deque<T>
- Specified by:
- removeLastin interface- List<T>
- Specified by:
- removeLastin interface- ListDeque<T>
- Specified by:
- removeLastin interface- SequencedCollection<T>
 
- 
reversed- Specified by:
- reversedin interface- Deque<T>
- Specified by:
- reversedin interface- List<T>
- Specified by:
- reversedin interface- ListDeque<T>
- Specified by:
- reversedin interface- SequencedCollection<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- Laxm;method_59513()Layv;
 
- 
pollFirst
- 
pollLast
- 
getFirst
- 
getLast
- 
peekFirst
- 
peekLast
- 
removeFirstOccurrence- Specified by:
- removeFirstOccurrencein interface- Deque<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- Laxm;removeFirstOccurrence(Ljava/lang/Object;)Z
 
- 
removeLastOccurrence- Specified by:
- removeLastOccurrencein interface- Deque<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- Laxm;removeLastOccurrence(Ljava/lang/Object;)Z
 
- 
descendingIterator- Specified by:
- descendingIteratorin interface- Deque<T>
 
 
-