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 aqo
intermediary net/minecraft/class_8623
named net/minecraft/util/collection/ArrayListDeque
  • Field Details

    • MISSING

      private static final int MISSING
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Laqo;a:I
      intermediary field_45067 Lnet/minecraft/class_8623;field_45067:I
      named MISSING Lnet/minecraft/util/collection/ArrayListDeque;MISSING:I
    • array

      private Object[] array
      Mappings:
      Namespace Name Mixin selector
      official b Laqo;b:[Ljava/lang/Object;
      intermediary field_45068 Lnet/minecraft/class_8623;field_45068:[Ljava/lang/Object;
      named array Lnet/minecraft/util/collection/ArrayListDeque;array:[Ljava/lang/Object;
    • startIndex

      private int startIndex
      Mappings:
      Namespace Name Mixin selector
      official c Laqo;c:I
      intermediary field_45069 Lnet/minecraft/class_8623;field_45069:I
      named startIndex Lnet/minecraft/util/collection/ArrayListDeque;startIndex:I
    • size

      private int size
      Mappings:
      Namespace Name Mixin selector
      official d Laqo;d:I
      intermediary field_45070 Lnet/minecraft/class_8623;field_45070:I
      named size Lnet/minecraft/util/collection/ArrayListDeque;size:I
  • Constructor Details

    • ArrayListDeque

      public ArrayListDeque()
    • ArrayListDeque

      public ArrayListDeque(int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqo;<init>(I)V
      intermediary <init> Lnet/minecraft/class_8623;<init>(I)V
      named <init> Lnet/minecraft/util/collection/ArrayListDeque;<init>(I)V
  • Method Details

    • size

      public int size()
      Specified by:
      size in interface Collection<T>
      Specified by:
      size in interface Deque<T>
      Specified by:
      size in interface List<T>
      Specified by:
      size in class AbstractCollection<T>
    • getArrayLength

      public int getArrayLength()
      Mappings:
      Namespace Name Mixin selector
      official a Laqo;a()I
      intermediary method_52450 Lnet/minecraft/class_8623;method_52450()I
      named getArrayLength Lnet/minecraft/util/collection/ArrayListDeque;getArrayLength()I
    • wrap

      private int wrap(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Laqo;a(I)I
      intermediary method_52451 Lnet/minecraft/class_8623;method_52451(I)I
      named wrap Lnet/minecraft/util/collection/ArrayListDeque;wrap(I)I
    • get

      public T get(int index)
      Specified by:
      get in interface List<T>
      Specified by:
      get in class AbstractList<T>
      Mappings:
      Namespace Name Mixin selector
      official get Laqo;get(I)Ljava/lang/Object;
      intermediary get Lnet/minecraft/class_8623;get(I)Ljava/lang/Object;
      named get Lnet/minecraft/util/collection/ArrayListDeque;get(I)Ljava/lang/Object;
    • checkBounds

      private static void checkBounds(int start, int end)
      Mappings:
      Namespace Name Mixin selector
      official a Laqo;a(II)V
      intermediary method_52452 Lnet/minecraft/class_8623;method_52452(II)V
      named checkBounds Lnet/minecraft/util/collection/ArrayListDeque;checkBounds(II)V
    • checkBounds

      private void checkBounds(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Laqo;b(I)V
      intermediary method_52455 Lnet/minecraft/class_8623;method_52455(I)V
      named checkBounds Lnet/minecraft/util/collection/ArrayListDeque;checkBounds(I)V
    • getRaw

      private T getRaw(int index)
      Mappings:
      Namespace Name Mixin selector
      official c Laqo;c(I)Ljava/lang/Object;
      intermediary method_52456 Lnet/minecraft/class_8623;method_52456(I)Ljava/lang/Object;
      named getRaw Lnet/minecraft/util/collection/ArrayListDeque;getRaw(I)Ljava/lang/Object;
    • set

      public T set(int index, T value)
      Specified by:
      set in interface List<T>
      Overrides:
      set in class AbstractList<T>
      Mappings:
      Namespace Name Mixin selector
      official set Laqo;set(ILjava/lang/Object;)Ljava/lang/Object;
      intermediary set Lnet/minecraft/class_8623;set(ILjava/lang/Object;)Ljava/lang/Object;
      named set Lnet/minecraft/util/collection/ArrayListDeque;set(ILjava/lang/Object;)Ljava/lang/Object;
    • add

      public void add(int index, T value)
      Specified by:
      add in interface List<T>
      Overrides:
      add in class AbstractList<T>
      Mappings:
      Namespace Name Mixin selector
      official add Laqo;add(ILjava/lang/Object;)V
      intermediary add Lnet/minecraft/class_8623;add(ILjava/lang/Object;)V
      named add Lnet/minecraft/util/collection/ArrayListDeque;add(ILjava/lang/Object;)V
    • enlarge

      private void enlarge()
      Mappings:
      Namespace Name Mixin selector
      official b Laqo;b()V
      intermediary method_52454 Lnet/minecraft/class_8623;method_52454()V
      named enlarge Lnet/minecraft/util/collection/ArrayListDeque;enlarge()V
    • remove

      public T remove(int index)
      Specified by:
      remove in interface List<T>
      Overrides:
      remove in class AbstractList<T>
      Mappings:
      Namespace Name Mixin selector
      official remove Laqo;remove(I)Ljava/lang/Object;
      intermediary remove Lnet/minecraft/class_8623;remove(I)Ljava/lang/Object;
      named remove Lnet/minecraft/util/collection/ArrayListDeque;remove(I)Ljava/lang/Object;
    • removeIf

      public boolean removeIf(Predicate<? super T> predicate)
      Specified by:
      removeIf in interface Collection<T>
      Mappings:
      Namespace Name Mixin selector
      official removeIf Laqo;removeIf(Ljava/util/function/Predicate;)Z
      intermediary removeIf Lnet/minecraft/class_8623;removeIf(Ljava/util/function/Predicate;)Z
      named removeIf Lnet/minecraft/util/collection/ArrayListDeque;removeIf(Ljava/util/function/Predicate;)Z
    • copyTo

      private void copyTo(Object[] array, int size)
      Mappings:
      Namespace Name Mixin selector
      official a Laqo;a([Ljava/lang/Object;I)V
      intermediary method_52453 Lnet/minecraft/class_8623;method_52453([Ljava/lang/Object;I)V
      named copyTo Lnet/minecraft/util/collection/ArrayListDeque;copyTo([Ljava/lang/Object;I)V
    • replaceAll

      public void replaceAll(UnaryOperator<T> mapper)
      Specified by:
      replaceAll in interface List<T>
      Mappings:
      Namespace Name Mixin selector
      official replaceAll Laqo;replaceAll(Ljava/util/function/UnaryOperator;)V
      intermediary replaceAll Lnet/minecraft/class_8623;replaceAll(Ljava/util/function/UnaryOperator;)V
      named replaceAll Lnet/minecraft/util/collection/ArrayListDeque;replaceAll(Ljava/util/function/UnaryOperator;)V
    • forEach

      public void forEach(Consumer<? super T> consumer)
      Specified by:
      forEach in interface Iterable<T>
      Mappings:
      Namespace Name Mixin selector
      official forEach Laqo;forEach(Ljava/util/function/Consumer;)V
      intermediary forEach Lnet/minecraft/class_8623;forEach(Ljava/util/function/Consumer;)V
      named forEach Lnet/minecraft/util/collection/ArrayListDeque;forEach(Ljava/util/function/Consumer;)V
    • addFirst

      public void addFirst(T value)
      Specified by:
      addFirst in interface Deque<T>
      Mappings:
      Namespace Name Mixin selector
      official addFirst Laqo;addFirst(Ljava/lang/Object;)V
      intermediary addFirst Lnet/minecraft/class_8623;addFirst(Ljava/lang/Object;)V
      named addFirst Lnet/minecraft/util/collection/ArrayListDeque;addFirst(Ljava/lang/Object;)V
    • addLast

      public void addLast(T value)
      Specified by:
      addLast in interface Deque<T>
      Mappings:
      Namespace Name Mixin selector
      official addLast Laqo;addLast(Ljava/lang/Object;)V
      intermediary addLast Lnet/minecraft/class_8623;addLast(Ljava/lang/Object;)V
      named addLast Lnet/minecraft/util/collection/ArrayListDeque;addLast(Ljava/lang/Object;)V
    • offerFirst

      public boolean offerFirst(T value)
      Specified by:
      offerFirst in interface Deque<T>
      Mappings:
      Namespace Name Mixin selector
      official offerFirst Laqo;offerFirst(Ljava/lang/Object;)Z
      intermediary offerFirst Lnet/minecraft/class_8623;offerFirst(Ljava/lang/Object;)Z
      named offerFirst Lnet/minecraft/util/collection/ArrayListDeque;offerFirst(Ljava/lang/Object;)Z
    • offerLast

      public boolean offerLast(T value)
      Specified by:
      offerLast in interface Deque<T>
      Mappings:
      Namespace Name Mixin selector
      official offerLast Laqo;offerLast(Ljava/lang/Object;)Z
      intermediary offerLast Lnet/minecraft/class_8623;offerLast(Ljava/lang/Object;)Z
      named offerLast Lnet/minecraft/util/collection/ArrayListDeque;offerLast(Ljava/lang/Object;)Z
    • removeFirst

      public T removeFirst()
      Specified by:
      removeFirst in interface Deque<T>
    • removeLast

      public T removeLast()
      Specified by:
      removeLast in interface Deque<T>
    • pollFirst

      @Nullable public T pollFirst()
      Specified by:
      pollFirst in interface Deque<T>
    • pollLast

      @Nullable public T pollLast()
      Specified by:
      pollLast in interface Deque<T>
    • getFirst

      public T getFirst()
      Specified by:
      getFirst in interface Deque<T>
    • getLast

      public T getLast()
      Specified by:
      getLast in interface Deque<T>
    • peekFirst

      @Nullable public T peekFirst()
      Specified by:
      peekFirst in interface Deque<T>
    • peekLast

      @Nullable public T peekLast()
      Specified by:
      peekLast in interface Deque<T>
    • removeFirstOccurrence

      public boolean removeFirstOccurrence(Object value)
      Specified by:
      removeFirstOccurrence in interface Deque<T>
      Mappings:
      Namespace Name Mixin selector
      official removeFirstOccurrence Laqo;removeFirstOccurrence(Ljava/lang/Object;)Z
      intermediary removeFirstOccurrence Lnet/minecraft/class_8623;removeFirstOccurrence(Ljava/lang/Object;)Z
      named removeFirstOccurrence Lnet/minecraft/util/collection/ArrayListDeque;removeFirstOccurrence(Ljava/lang/Object;)Z
    • removeLastOccurrence

      public boolean removeLastOccurrence(Object value)
      Specified by:
      removeLastOccurrence in interface Deque<T>
      Mappings:
      Namespace Name Mixin selector
      official removeLastOccurrence Laqo;removeLastOccurrence(Ljava/lang/Object;)Z
      intermediary removeLastOccurrence Lnet/minecraft/class_8623;removeLastOccurrence(Ljava/lang/Object;)Z
      named removeLastOccurrence Lnet/minecraft/util/collection/ArrayListDeque;removeLastOccurrence(Ljava/lang/Object;)Z
    • offer

      public boolean offer(T value)
      Specified by:
      offer in interface Deque<T>
      Specified by:
      offer in interface Queue<T>
      Mappings:
      Namespace Name Mixin selector
      official offer Laqo;offer(Ljava/lang/Object;)Z
      intermediary offer Lnet/minecraft/class_8623;offer(Ljava/lang/Object;)Z
      named offer Lnet/minecraft/util/collection/ArrayListDeque;offer(Ljava/lang/Object;)Z
    • remove

      public T remove()
      Specified by:
      remove in interface Deque<T>
      Specified by:
      remove in interface Queue<T>
    • poll

      @Nullable public T poll()
      Specified by:
      poll in interface Deque<T>
      Specified by:
      poll in interface Queue<T>
    • element

      public T element()
      Specified by:
      element in interface Deque<T>
      Specified by:
      element in interface Queue<T>
    • peek

      @Nullable public T peek()
      Specified by:
      peek in interface Deque<T>
      Specified by:
      peek in interface Queue<T>
    • push

      public void push(T value)
      Specified by:
      push in interface Deque<T>
      Mappings:
      Namespace Name Mixin selector
      official push Laqo;push(Ljava/lang/Object;)V
      intermediary push Lnet/minecraft/class_8623;push(Ljava/lang/Object;)V
      named push Lnet/minecraft/util/collection/ArrayListDeque;push(Ljava/lang/Object;)V
    • pop

      public T pop()
      Specified by:
      pop in interface Deque<T>
    • descendingIterator

      public Iterator<T> descendingIterator()
      Specified by:
      descendingIterator in interface Deque<T>