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 aqkintermediary net/minecraft/class_8623named net/minecraft/util/collection/ArrayListDeque
-
Nested Class Summary
Nested Classes -
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 voidelement()private voidenlarge()voidget(int index) intgetFirst()getLast()private TgetRaw(int index) booleanbooleanofferFirst(T value) booleanpeek()peekLast()poll()pollLast()pop()voidremove()remove(int index) booleanremoveFirstOccurrence(Object value) booleanbooleanremoveLastOccurrence(Object value) voidreplaceAll(UnaryOperator<T> mapper) 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, toArray
-
Field Details
-
MISSING
private static final int MISSING- See Also:
- Mappings:
Namespace Name Mixin selector official aLaqk;a:Iintermediary field_45067Lnet/minecraft/class_8623;field_45067:Inamed MISSINGLnet/minecraft/util/collection/ArrayListDeque;MISSING:I
-
array
- Mappings:
Namespace Name Mixin selector official bLaqk;b:[Ljava/lang/Object;intermediary field_45068Lnet/minecraft/class_8623;field_45068:[Ljava/lang/Object;named arrayLnet/minecraft/util/collection/ArrayListDeque;array:[Ljava/lang/Object;
-
startIndex
private int startIndex- Mappings:
Namespace Name Mixin selector official cLaqk;c:Iintermediary field_45069Lnet/minecraft/class_8623;field_45069:Inamed startIndexLnet/minecraft/util/collection/ArrayListDeque;startIndex:I
-
size
private int size- Mappings:
Namespace Name Mixin selector official dLaqk;d:Iintermediary field_45070Lnet/minecraft/class_8623;field_45070:Inamed sizeLnet/minecraft/util/collection/ArrayListDeque;size:I
-
-
Constructor Details
-
ArrayListDeque
public ArrayListDeque() -
ArrayListDeque
public ArrayListDeque(int size) - Mappings:
Namespace Name Mixin selector official <init>Laqk;<init>(I)Vintermediary <init>Lnet/minecraft/class_8623;<init>(I)Vnamed <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 aLaqk;a()Iintermediary method_52450Lnet/minecraft/class_8623;method_52450()Inamed getArrayLengthLnet/minecraft/util/collection/ArrayListDeque;getArrayLength()I
-
wrap
private int wrap(int index) - Mappings:
Namespace Name Mixin selector official aLaqk;a(I)Iintermediary method_52451Lnet/minecraft/class_8623;method_52451(I)Inamed wrapLnet/minecraft/util/collection/ArrayListDeque;wrap(I)I
-
get
- Specified by:
getin interfaceList<T>- Specified by:
getin classAbstractList<T>- Mappings:
Namespace Name Mixin selector official getLaqk;get(I)Ljava/lang/Object;intermediary getLnet/minecraft/class_8623;get(I)Ljava/lang/Object;named getLnet/minecraft/util/collection/ArrayListDeque;get(I)Ljava/lang/Object;
-
checkBounds
private static void checkBounds(int start, int end) - Mappings:
Namespace Name Mixin selector official aLaqk;a(II)Vintermediary method_52452Lnet/minecraft/class_8623;method_52452(II)Vnamed checkBoundsLnet/minecraft/util/collection/ArrayListDeque;checkBounds(II)V
-
checkBounds
private void checkBounds(int index) - Mappings:
Namespace Name Mixin selector official bLaqk;b(I)Vintermediary method_52455Lnet/minecraft/class_8623;method_52455(I)Vnamed checkBoundsLnet/minecraft/util/collection/ArrayListDeque;checkBounds(I)V
-
getRaw
- Mappings:
Namespace Name Mixin selector official cLaqk;c(I)Ljava/lang/Object;intermediary method_52456Lnet/minecraft/class_8623;method_52456(I)Ljava/lang/Object;named getRawLnet/minecraft/util/collection/ArrayListDeque;getRaw(I)Ljava/lang/Object;
-
set
- Specified by:
setin interfaceList<T>- Overrides:
setin classAbstractList<T>- Mappings:
Namespace Name Mixin selector official setLaqk;set(ILjava/lang/Object;)Ljava/lang/Object;intermediary setLnet/minecraft/class_8623;set(ILjava/lang/Object;)Ljava/lang/Object;named setLnet/minecraft/util/collection/ArrayListDeque;set(ILjava/lang/Object;)Ljava/lang/Object;
-
add
- Specified by:
addin interfaceList<T>- Overrides:
addin classAbstractList<T>- Mappings:
Namespace Name Mixin selector official addLaqk;add(ILjava/lang/Object;)Vintermediary addLnet/minecraft/class_8623;add(ILjava/lang/Object;)Vnamed addLnet/minecraft/util/collection/ArrayListDeque;add(ILjava/lang/Object;)V
-
enlarge
private void enlarge()- Mappings:
Namespace Name Mixin selector official bLaqk;b()Vintermediary method_52454Lnet/minecraft/class_8623;method_52454()Vnamed enlargeLnet/minecraft/util/collection/ArrayListDeque;enlarge()V
-
remove
- Specified by:
removein interfaceList<T>- Overrides:
removein classAbstractList<T>- Mappings:
Namespace Name Mixin selector official removeLaqk;remove(I)Ljava/lang/Object;intermediary removeLnet/minecraft/class_8623;remove(I)Ljava/lang/Object;named removeLnet/minecraft/util/collection/ArrayListDeque;remove(I)Ljava/lang/Object;
-
removeIf
- Specified by:
removeIfin interfaceCollection<T>- Mappings:
Namespace Name Mixin selector official removeIfLaqk;removeIf(Ljava/util/function/Predicate;)Zintermediary removeIfLnet/minecraft/class_8623;removeIf(Ljava/util/function/Predicate;)Znamed removeIfLnet/minecraft/util/collection/ArrayListDeque;removeIf(Ljava/util/function/Predicate;)Z
-
copyTo
- Mappings:
Namespace Name Mixin selector official aLaqk;a([Ljava/lang/Object;I)Vintermediary method_52453Lnet/minecraft/class_8623;method_52453([Ljava/lang/Object;I)Vnamed copyToLnet/minecraft/util/collection/ArrayListDeque;copyTo([Ljava/lang/Object;I)V
-
replaceAll
- Specified by:
replaceAllin interfaceList<T>- Mappings:
Namespace Name Mixin selector official replaceAllLaqk;replaceAll(Ljava/util/function/UnaryOperator;)Vintermediary replaceAllLnet/minecraft/class_8623;replaceAll(Ljava/util/function/UnaryOperator;)Vnamed replaceAllLnet/minecraft/util/collection/ArrayListDeque;replaceAll(Ljava/util/function/UnaryOperator;)V
-
forEach
- Specified by:
forEachin interfaceIterable<T>- Mappings:
Namespace Name Mixin selector official forEachLaqk;forEach(Ljava/util/function/Consumer;)Vintermediary forEachLnet/minecraft/class_8623;forEach(Ljava/util/function/Consumer;)Vnamed forEachLnet/minecraft/util/collection/ArrayListDeque;forEach(Ljava/util/function/Consumer;)V
-
addFirst
- Specified by:
addFirstin interfaceDeque<T>- Mappings:
Namespace Name Mixin selector official addFirstLaqk;addFirst(Ljava/lang/Object;)Vintermediary addFirstLnet/minecraft/class_8623;addFirst(Ljava/lang/Object;)Vnamed addFirstLnet/minecraft/util/collection/ArrayListDeque;addFirst(Ljava/lang/Object;)V
-
addLast
-
offerFirst
- Specified by:
offerFirstin interfaceDeque<T>- Mappings:
Namespace Name Mixin selector official offerFirstLaqk;offerFirst(Ljava/lang/Object;)Zintermediary offerFirstLnet/minecraft/class_8623;offerFirst(Ljava/lang/Object;)Znamed offerFirstLnet/minecraft/util/collection/ArrayListDeque;offerFirst(Ljava/lang/Object;)Z
-
offerLast
- Specified by:
offerLastin interfaceDeque<T>- Mappings:
Namespace Name Mixin selector official offerLastLaqk;offerLast(Ljava/lang/Object;)Zintermediary offerLastLnet/minecraft/class_8623;offerLast(Ljava/lang/Object;)Znamed offerLastLnet/minecraft/util/collection/ArrayListDeque;offerLast(Ljava/lang/Object;)Z
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<T>
-
removeLast
- Specified by:
removeLastin interfaceDeque<T>
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrencein interfaceDeque<T>- Mappings:
Namespace Name Mixin selector official removeFirstOccurrenceLaqk;removeFirstOccurrence(Ljava/lang/Object;)Zintermediary removeFirstOccurrenceLnet/minecraft/class_8623;removeFirstOccurrence(Ljava/lang/Object;)Znamed removeFirstOccurrenceLnet/minecraft/util/collection/ArrayListDeque;removeFirstOccurrence(Ljava/lang/Object;)Z
-
removeLastOccurrence
- Specified by:
removeLastOccurrencein interfaceDeque<T>- Mappings:
Namespace Name Mixin selector official removeLastOccurrenceLaqk;removeLastOccurrence(Ljava/lang/Object;)Zintermediary removeLastOccurrenceLnet/minecraft/class_8623;removeLastOccurrence(Ljava/lang/Object;)Znamed removeLastOccurrenceLnet/minecraft/util/collection/ArrayListDeque;removeLastOccurrence(Ljava/lang/Object;)Z
-
offer
- Specified by:
offerin interfaceDeque<T>- Specified by:
offerin interfaceQueue<T>- Mappings:
Namespace Name Mixin selector official offerLaqk;offer(Ljava/lang/Object;)Zintermediary offerLnet/minecraft/class_8623;offer(Ljava/lang/Object;)Znamed offerLnet/minecraft/util/collection/ArrayListDeque;offer(Ljava/lang/Object;)Z
-
remove
-
poll
-
element
-
peek
-
push
-
pop
-
descendingIterator
- Specified by:
descendingIteratorin interfaceDeque<T>
-