Package net.minecraft.util.collection
Class ArrayListDeque.ReversedWrapper
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
net.minecraft.util.collection.ArrayListDeque.ReversedWrapper
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<T>
,Collection<T>
,Deque<T>
,List<T>
,Queue<T>
,RandomAccess
,SequencedCollection<T>
,ListDeque<T>
- Enclosing class:
ArrayListDeque<T>
- Mappings:
Namespace Name named net/minecraft/util/collection/ArrayListDeque$ReversedWrapper
intermediary net/minecraft/class_8623$class_9633
official ayr$b
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
clear()
boolean
get
(int index) getFirst()
getLast()
private int
getReversedIndex
(int index) int
boolean
isEmpty()
iterator()
int
lastIndexOf
(Object value) boolean
offerFirst
(T value) boolean
peekLast()
pollLast()
remove
(int index) boolean
removeFirstOccurrence
(Object value) boolean
removeLastOccurrence
(Object value) reversed()
int
size()
subList
(int start, int end) Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, listIterator, listIterator, removeRange
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, 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, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, addAll, addAll, containsAll, equals, hashCode, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Field Details
-
original
- Mappings:
Namespace Name Mixin selector named original
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;original:Lnet/minecraft/util/collection/ArrayListDeque;
intermediary field_51346
Lnet/minecraft/class_8623$class_9633;field_51346:Lnet/minecraft/class_8623;
official b
Layr$b;b:Layr;
-
-
Constructor Details
-
ReversedWrapper
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;<init>(Lnet/minecraft/util/collection/ArrayListDeque;Lnet/minecraft/util/collection/ArrayListDeque;)V
intermediary <init>
Lnet/minecraft/class_8623$class_9633;<init>(Lnet/minecraft/class_8623;Lnet/minecraft/class_8623;)V
official <init>
Layr$b;<init>(Layr;Layr;)V
-
-
Method Details
-
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$ReversedWrapper;reversed()Lnet/minecraft/util/collection/ListDeque;
intermediary method_59513
Lnet/minecraft/class_8623$class_9633;method_59513()Lnet/minecraft/class_9634;
official method_59513
Layr$b;method_59513()Lbaa;
-
getFirst
-
getLast
-
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/ListDeque;addFirst(Ljava/lang/Object;)V
intermediary addFirst
Lnet/minecraft/class_9634;addFirst(Ljava/lang/Object;)V
official addFirst
Lbaa;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/ListDeque;addLast(Ljava/lang/Object;)V
intermediary addLast
Lnet/minecraft/class_9634;addLast(Ljava/lang/Object;)V
official addLast
Lbaa;addLast(Ljava/lang/Object;)V
-
offerFirst
- Specified by:
offerFirst
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector named offerFirst
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;offerFirst(Ljava/lang/Object;)Z
intermediary offerFirst
Lnet/minecraft/class_8623$class_9633;offerFirst(Ljava/lang/Object;)Z
official offerFirst
Layr$b;offerFirst(Ljava/lang/Object;)Z
-
offerLast
- Specified by:
offerLast
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector named offerLast
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;offerLast(Ljava/lang/Object;)Z
intermediary offerLast
Lnet/minecraft/class_8623$class_9633;offerLast(Ljava/lang/Object;)Z
official offerLast
Layr$b;offerLast(Ljava/lang/Object;)Z
-
pollFirst
-
pollLast
-
peekFirst
-
peekLast
-
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>
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrence
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector named removeFirstOccurrence
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;removeFirstOccurrence(Ljava/lang/Object;)Z
intermediary removeFirstOccurrence
Lnet/minecraft/class_8623$class_9633;removeFirstOccurrence(Ljava/lang/Object;)Z
official removeFirstOccurrence
Layr$b;removeFirstOccurrence(Ljava/lang/Object;)Z
-
removeLastOccurrence
- Specified by:
removeLastOccurrence
in interfaceDeque<T>
- Mappings:
Namespace Name Mixin selector named removeLastOccurrence
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;removeLastOccurrence(Ljava/lang/Object;)Z
intermediary removeLastOccurrence
Lnet/minecraft/class_8623$class_9633;removeLastOccurrence(Ljava/lang/Object;)Z
official removeLastOccurrence
Layr$b;removeLastOccurrence(Ljava/lang/Object;)Z
-
descendingIterator
- Specified by:
descendingIterator
in interfaceDeque<T>
-
size
public int size() -
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<T>
- Specified by:
isEmpty
in interfaceList<T>
- Overrides:
isEmpty
in classAbstractCollection<T>
-
contains
- Specified by:
contains
in interfaceCollection<T>
- Specified by:
contains
in interfaceDeque<T>
- Specified by:
contains
in interfaceList<T>
- Overrides:
contains
in classAbstractCollection<T>
- Mappings:
Namespace Name Mixin selector named contains
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;contains(Ljava/lang/Object;)Z
intermediary contains
Lnet/minecraft/class_8623$class_9633;contains(Ljava/lang/Object;)Z
official contains
Layr$b;contains(Ljava/lang/Object;)Z
-
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$ReversedWrapper;get(I)Ljava/lang/Object;
intermediary get
Lnet/minecraft/class_8623$class_9633;get(I)Ljava/lang/Object;
official get
Layr$b;get(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$ReversedWrapper;set(ILjava/lang/Object;)Ljava/lang/Object;
intermediary set
Lnet/minecraft/class_8623$class_9633;set(ILjava/lang/Object;)Ljava/lang/Object;
official set
Layr$b;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$ReversedWrapper;add(ILjava/lang/Object;)V
intermediary add
Lnet/minecraft/class_8623$class_9633;add(ILjava/lang/Object;)V
official add
Layr$b;add(ILjava/lang/Object;)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$ReversedWrapper;remove(I)Ljava/lang/Object;
intermediary remove
Lnet/minecraft/class_8623$class_9633;remove(I)Ljava/lang/Object;
official remove
Layr$b;remove(I)Ljava/lang/Object;
-
indexOf
- Specified by:
indexOf
in interfaceList<T>
- Overrides:
indexOf
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector named indexOf
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;indexOf(Ljava/lang/Object;)I
intermediary indexOf
Lnet/minecraft/class_8623$class_9633;indexOf(Ljava/lang/Object;)I
official indexOf
Layr$b;indexOf(Ljava/lang/Object;)I
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T>
- Overrides:
lastIndexOf
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector named lastIndexOf
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;lastIndexOf(Ljava/lang/Object;)I
intermediary lastIndexOf
Lnet/minecraft/class_8623$class_9633;lastIndexOf(Ljava/lang/Object;)I
official lastIndexOf
Layr$b;lastIndexOf(Ljava/lang/Object;)I
-
subList
- Specified by:
subList
in interfaceList<T>
- Overrides:
subList
in classAbstractList<T>
- Mappings:
Namespace Name Mixin selector named subList
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;subList(II)Ljava/util/List;
intermediary subList
Lnet/minecraft/class_8623$class_9633;subList(II)Ljava/util/List;
official subList
Layr$b;subList(II)Ljava/util/List;
-
iterator
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T>
- Specified by:
clear
in interfaceList<T>
- Overrides:
clear
in classAbstractList<T>
-
getReversedIndex
private int getReversedIndex(int index) - Mappings:
Namespace Name Mixin selector named getReversedIndex
Lnet/minecraft/util/collection/ArrayListDeque$ReversedWrapper;getReversedIndex(I)I
intermediary method_59514
Lnet/minecraft/class_8623$class_9633;method_59514(I)I
official a
Layr$b;a(I)I
-