Class IntObjectStorage<V>

java.lang.Object
net.minecraft.util.collection.IntObjectStorage<V>

public class IntObjectStorage<V> extends Object
Mappings:
Namespace Name
official oi
intermediary net/minecraft/class_833
named net/minecraft/util/collection/IntObjectStorage
  • Field Details

    • buckets

      private transient IntObjectStorage.Entry<V>[] buckets
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a:[Loi$a;
      intermediary field_3066 Lnet/minecraft/class_833;field_3066:[Lnet/minecraft/class_833$class_834;
      named buckets Lnet/minecraft/util/collection/IntObjectStorage;buckets:[Lnet/minecraft/util/collection/IntObjectStorage$Entry;
    • size

      private transient int size
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b:I
      intermediary field_3067 Lnet/minecraft/class_833;field_3067:I
      named size Lnet/minecraft/util/collection/IntObjectStorage;size:I
    • capacity

      private int capacity
      Mappings:
      Namespace Name Mixin selector
      official c Loi;c:I
      intermediary field_3068 Lnet/minecraft/class_833;field_3068:I
      named capacity Lnet/minecraft/util/collection/IntObjectStorage;capacity:I
    • growthFactor

      private final float growthFactor
      Mappings:
      Namespace Name Mixin selector
      official d Loi;d:F
      intermediary field_3069 Lnet/minecraft/class_833;field_3069:F
      named growthFactor Lnet/minecraft/util/collection/IntObjectStorage;growthFactor:F
  • Constructor Details

    • IntObjectStorage

      public IntObjectStorage()
  • Method Details

    • hash

      private static int hash(int key)
      Mappings:
      Namespace Name Mixin selector
      official g Loi;g(I)I
      intermediary method_2313 Lnet/minecraft/class_833;method_2313(I)I
      named hash Lnet/minecraft/util/collection/IntObjectStorage;hash(I)I
    • getIndex

      private static int getIndex(int hash, int bucketLength)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(II)I
      intermediary method_2302 Lnet/minecraft/class_833;method_2302(II)I
      named getIndex Lnet/minecraft/util/collection/IntObjectStorage;getIndex(II)I
    • get

      @Nullable public V get(int key)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(I)Ljava/lang/Object;
      intermediary method_2301 Lnet/minecraft/class_833;method_2301(I)Ljava/lang/Object;
      named get Lnet/minecraft/util/collection/IntObjectStorage;get(I)Ljava/lang/Object;
    • hasEntry

      public boolean hasEntry(int key)
      Mappings:
      Namespace Name Mixin selector
      official b Loi;b(I)Z
      intermediary method_2306 Lnet/minecraft/class_833;method_2306(I)Z
      named hasEntry Lnet/minecraft/util/collection/IntObjectStorage;hasEntry(I)Z
    • getEntry

      @Nullable final IntObjectStorage.Entry<V> getEntry(int key)
      Mappings:
      Namespace Name Mixin selector
      official c Loi;c(I)Loi$a;
      intermediary method_2308 Lnet/minecraft/class_833;method_2308(I)Lnet/minecraft/class_833$class_834;
      named getEntry Lnet/minecraft/util/collection/IntObjectStorage;getEntry(I)Lnet/minecraft/util/collection/IntObjectStorage$Entry;
    • set

      public void set(int key, V value)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(ILjava/lang/Object;)V
      intermediary method_2304 Lnet/minecraft/class_833;method_2304(ILjava/lang/Object;)V
      named set Lnet/minecraft/util/collection/IntObjectStorage;set(ILjava/lang/Object;)V
    • expandSize

      private void expandSize(int updatedSize)
      Mappings:
      Namespace Name Mixin selector
      official h Loi;h(I)V
      intermediary method_2314 Lnet/minecraft/class_833;method_2314(I)V
      named expandSize Lnet/minecraft/util/collection/IntObjectStorage;expandSize(I)V
    • moveTo

      private void moveTo(IntObjectStorage.Entry<V>[] newEntryArray)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a([Loi$a;)V
      intermediary method_2305 Lnet/minecraft/class_833;method_2305([Lnet/minecraft/class_833$class_834;)V
      named moveTo Lnet/minecraft/util/collection/IntObjectStorage;moveTo([Lnet/minecraft/util/collection/IntObjectStorage$Entry;)V
    • remove

      @Nullable public V remove(int key)
      Mappings:
      Namespace Name Mixin selector
      official d Loi;d(I)Ljava/lang/Object;
      intermediary method_2310 Lnet/minecraft/class_833;method_2310(I)Ljava/lang/Object;
      named remove Lnet/minecraft/util/collection/IntObjectStorage;remove(I)Ljava/lang/Object;
    • removeEntry

      @Nullable final IntObjectStorage.Entry<V> removeEntry(int key)
      Mappings:
      Namespace Name Mixin selector
      official e Loi;e(I)Loi$a;
      intermediary method_2311 Lnet/minecraft/class_833;method_2311(I)Lnet/minecraft/class_833$class_834;
      named removeEntry Lnet/minecraft/util/collection/IntObjectStorage;removeEntry(I)Lnet/minecraft/util/collection/IntObjectStorage$Entry;
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      official c Loi;c()V
      intermediary method_2307 Lnet/minecraft/class_833;method_2307()V
      named clear Lnet/minecraft/util/collection/IntObjectStorage;clear()V
    • insert

      private void insert(int hash, int key, V value, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Loi;a(IILjava/lang/Object;I)V
      intermediary method_2303 Lnet/minecraft/class_833;method_2303(IILjava/lang/Object;I)V
      named insert Lnet/minecraft/util/collection/IntObjectStorage;insert(IILjava/lang/Object;I)V