Class PriorityIterator<T>

All Implemented Interfaces:
Iterator<T>

public final class PriorityIterator<T> extends AbstractIterator<T>
Mappings:
Namespace Name
official ava
intermediary net/minecraft/class_8917
named net/minecraft/util/collection/PriorityIterator
  • Field Details

    • entries

      private final Int2ObjectMap<Deque<T>> entries
      Mappings:
      Namespace Name Mixin selector
      official a Lava;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_46956 Lnet/minecraft/class_8917;field_46956:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named entries Lnet/minecraft/util/collection/PriorityIterator;entries:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
  • Constructor Details

    • PriorityIterator

      public PriorityIterator()
  • Method Details

    • enqueue

      public void enqueue(T value, int priority)
      Mappings:
      Namespace Name Mixin selector
      official a Lava;a(Ljava/lang/Object;I)V
      intermediary method_54726 Lnet/minecraft/class_8917;method_54726(Ljava/lang/Object;I)V
      named enqueue Lnet/minecraft/util/collection/PriorityIterator;enqueue(Ljava/lang/Object;I)V
    • computeNext

      @Nullable protected T computeNext()
      Specified by:
      computeNext in class AbstractIterator<T>