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/ArrayListDequeintermediary net/minecraft/class_8623official axb
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Object[]private static final intprivate intprivate intFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier 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.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods 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 MISSINGLnet/minecraft/util/collection/ArrayListDeque;MISSING:Iintermediary field_45067Lnet/minecraft/class_8623;field_45067:Iofficial aLaxb;a:I
-
array
- Mappings:
Namespace Name Mixin selector named arrayLnet/minecraft/util/collection/ArrayListDeque;array:[Ljava/lang/Object;intermediary field_45068Lnet/minecraft/class_8623;field_45068:[Ljava/lang/Object;official bLaxb;b:[Ljava/lang/Object;
-
startIndex
private int startIndex- Mappings:
Namespace Name Mixin selector named startIndexLnet/minecraft/util/collection/ArrayListDeque;startIndex:Iintermediary field_45069Lnet/minecraft/class_8623;field_45069:Iofficial cLaxb;c:I
-
size
private int size- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/util/collection/ArrayListDeque;size:Iintermediary field_45070Lnet/minecraft/class_8623;field_45070:Iofficial dLaxb;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)Vintermediary <init>Lnet/minecraft/class_8623;<init>(I)Vofficial <init>Laxb;<init>(I)V
-
-
Method Details
-
size
public int size() -
getArrayLength
public int getArrayLength()- Mappings:
Namespace Name Mixin selector named getArrayLengthLnet/minecraft/util/collection/ArrayListDeque;getArrayLength()Iintermediary method_52450Lnet/minecraft/class_8623;method_52450()Iofficial aLaxb;a()I
-
wrap
private int wrap(int index) - Mappings:
Namespace Name Mixin selector named wrapLnet/minecraft/util/collection/ArrayListDeque;wrap(I)Iintermediary method_52451Lnet/minecraft/class_8623;method_52451(I)Iofficial aLaxb;a(I)I
-
get
- Specified by:
getin interfaceList<T>- Specified by:
getin classAbstractList<T>- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/util/collection/ArrayListDeque;get(I)Ljava/lang/Object;intermediary getLnet/minecraft/class_8623;get(I)Ljava/lang/Object;official getLaxb;get(I)Ljava/lang/Object;
-
checkBounds
private static void checkBounds(int start, int end) - Mappings:
Namespace Name Mixin selector named checkBoundsLnet/minecraft/util/collection/ArrayListDeque;checkBounds(II)Vintermediary method_52452Lnet/minecraft/class_8623;method_52452(II)Vofficial aLaxb;a(II)V
-
checkBounds
private void checkBounds(int index) - Mappings:
Namespace Name Mixin selector named checkBoundsLnet/minecraft/util/collection/ArrayListDeque;checkBounds(I)Vintermediary method_52455Lnet/minecraft/class_8623;method_52455(I)Vofficial bLaxb;b(I)V
-
getRaw
- Mappings:
Namespace Name Mixin selector named getRawLnet/minecraft/util/collection/ArrayListDeque;getRaw(I)Ljava/lang/Object;intermediary method_52456Lnet/minecraft/class_8623;method_52456(I)Ljava/lang/Object;official cLaxb;c(I)Ljava/lang/Object;
-
set
- Specified by:
setin interfaceList<T>- Overrides:
setin classAbstractList<T>- Mappings:
Namespace Name Mixin selector named setLnet/minecraft/util/collection/ArrayListDeque;set(ILjava/lang/Object;)Ljava/lang/Object;intermediary setLnet/minecraft/class_8623;set(ILjava/lang/Object;)Ljava/lang/Object;official setLaxb;set(ILjava/lang/Object;)Ljava/lang/Object;
-
add
- Specified by:
addin interfaceList<T>- Overrides:
addin classAbstractList<T>- Mappings:
Namespace Name Mixin selector named addLnet/minecraft/util/collection/ArrayListDeque;add(ILjava/lang/Object;)Vintermediary addLnet/minecraft/class_8623;add(ILjava/lang/Object;)Vofficial addLaxb;add(ILjava/lang/Object;)V
-
enlarge
private void enlarge()- Mappings:
Namespace Name Mixin selector named enlargeLnet/minecraft/util/collection/ArrayListDeque;enlarge()Vintermediary method_52454Lnet/minecraft/class_8623;method_52454()Vofficial cLaxb;c()V
-
remove
- Specified by:
removein interfaceList<T>- Overrides:
removein classAbstractList<T>- Mappings:
Namespace Name Mixin selector named removeLnet/minecraft/util/collection/ArrayListDeque;remove(I)Ljava/lang/Object;intermediary removeLnet/minecraft/class_8623;remove(I)Ljava/lang/Object;official removeLaxb;remove(I)Ljava/lang/Object;
-
removeIf
- Specified by:
removeIfin interfaceCollection<T>- Mappings:
Namespace Name Mixin selector named removeIfLnet/minecraft/util/collection/ArrayListDeque;removeIf(Ljava/util/function/Predicate;)Zintermediary removeIfLnet/minecraft/class_8623;removeIf(Ljava/util/function/Predicate;)Zofficial removeIfLaxb;removeIf(Ljava/util/function/Predicate;)Z
-
copyTo
- Mappings:
Namespace Name Mixin selector named copyToLnet/minecraft/util/collection/ArrayListDeque;copyTo([Ljava/lang/Object;I)Vintermediary method_52453Lnet/minecraft/class_8623;method_52453([Ljava/lang/Object;I)Vofficial aLaxb;a([Ljava/lang/Object;I)V
-
replaceAll
- Specified by:
replaceAllin interfaceList<T>- Mappings:
Namespace Name Mixin selector named replaceAllLnet/minecraft/util/collection/ArrayListDeque;replaceAll(Ljava/util/function/UnaryOperator;)Vintermediary replaceAllLnet/minecraft/class_8623;replaceAll(Ljava/util/function/UnaryOperator;)Vofficial replaceAllLaxb;replaceAll(Ljava/util/function/UnaryOperator;)V
-
forEach
- Specified by:
forEachin interfaceIterable<T>- Mappings:
Namespace Name Mixin selector named forEachLnet/minecraft/util/collection/ArrayListDeque;forEach(Ljava/util/function/Consumer;)Vintermediary forEachLnet/minecraft/class_8623;forEach(Ljava/util/function/Consumer;)Vofficial forEachLaxb;forEach(Ljava/util/function/Consumer;)V
-
addFirst
- Specified by:
addFirstin interfaceDeque<T>- Specified by:
addFirstin interfaceList<T>- Specified by:
addFirstin interfaceListDeque<T>- Specified by:
addFirstin interfaceSequencedCollection<T>- Mappings:
Namespace Name Mixin selector named addFirstLnet/minecraft/util/collection/ArrayListDeque;addFirst(Ljava/lang/Object;)Vintermediary addFirstLnet/minecraft/class_8623;addFirst(Ljava/lang/Object;)Vofficial addFirstLaxb;addFirst(Ljava/lang/Object;)V
-
addLast
- Specified by:
addLastin interfaceDeque<T>- Specified by:
addLastin interfaceList<T>- Specified by:
addLastin interfaceListDeque<T>- Specified by:
addLastin interfaceSequencedCollection<T>- Mappings:
Namespace Name Mixin selector named addLastLnet/minecraft/util/collection/ArrayListDeque;addLast(Ljava/lang/Object;)Vintermediary addLastLnet/minecraft/class_8623;addLast(Ljava/lang/Object;)Vofficial addLastLaxb;addLast(Ljava/lang/Object;)V
-
offerFirst
- Specified by:
offerFirstin interfaceDeque<T>- Mappings:
Namespace Name Mixin selector named offerFirstLnet/minecraft/util/collection/ArrayListDeque;offerFirst(Ljava/lang/Object;)Zintermediary offerFirstLnet/minecraft/class_8623;offerFirst(Ljava/lang/Object;)Zofficial offerFirstLaxb;offerFirst(Ljava/lang/Object;)Z
-
offerLast
- Specified by:
offerLastin interfaceDeque<T>- Mappings:
Namespace Name Mixin selector named offerLastLnet/minecraft/util/collection/ArrayListDeque;offerLast(Ljava/lang/Object;)Zintermediary offerLastLnet/minecraft/class_8623;offerLast(Ljava/lang/Object;)Zofficial offerLastLaxb;offerLast(Ljava/lang/Object;)Z
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<T>- Specified by:
removeFirstin interfaceList<T>- Specified by:
removeFirstin interfaceListDeque<T>- Specified by:
removeFirstin interfaceSequencedCollection<T>
-
removeLast
- Specified by:
removeLastin interfaceDeque<T>- Specified by:
removeLastin interfaceList<T>- Specified by:
removeLastin interfaceListDeque<T>- Specified by:
removeLastin interfaceSequencedCollection<T>
-
reversed
- Specified by:
reversedin interfaceDeque<T>- Specified by:
reversedin interfaceList<T>- Specified by:
reversedin interfaceListDeque<T>- Specified by:
reversedin interfaceSequencedCollection<T>- Mappings:
Namespace Name Mixin selector named reversedLnet/minecraft/util/collection/ArrayListDeque;reversed()Lnet/minecraft/util/collection/ListDeque;intermediary method_59513Lnet/minecraft/class_8623;method_59513()Lnet/minecraft/class_9634;official method_59513Laxb;method_59513()Layk;
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrencein interfaceDeque<T>- Mappings:
Namespace Name Mixin selector named removeFirstOccurrenceLnet/minecraft/util/collection/ArrayListDeque;removeFirstOccurrence(Ljava/lang/Object;)Zintermediary removeFirstOccurrenceLnet/minecraft/class_8623;removeFirstOccurrence(Ljava/lang/Object;)Zofficial removeFirstOccurrenceLaxb;removeFirstOccurrence(Ljava/lang/Object;)Z
-
removeLastOccurrence
- Specified by:
removeLastOccurrencein interfaceDeque<T>- Mappings:
Namespace Name Mixin selector named removeLastOccurrenceLnet/minecraft/util/collection/ArrayListDeque;removeLastOccurrence(Ljava/lang/Object;)Zintermediary removeLastOccurrenceLnet/minecraft/class_8623;removeLastOccurrence(Ljava/lang/Object;)Zofficial removeLastOccurrenceLaxb;removeLastOccurrence(Ljava/lang/Object;)Z
-
descendingIterator
- Specified by:
descendingIteratorin interfaceDeque<T>
-