Class IntObjectStorage<V>

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

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

    • buckets

      private transient IntObjectStorage.Entry<V>[] buckets
      Mappings:
      Namespace Name Mixin selector
      official a Lnm;a:[Lnm$a;
      intermediary field_7123 Lnet/minecraft/class_1697;field_7123:[Lnet/minecraft/class_1697$class_1698;
      named buckets Lnet/minecraft/util/IntObjectStorage;buckets:[Lnet/minecraft/util/IntObjectStorage$Entry;
    • size

      private transient int size
      Mappings:
      Namespace Name Mixin selector
      official b Lnm;b:I
      intermediary field_7124 Lnet/minecraft/class_1697;field_7124:I
      named size Lnet/minecraft/util/IntObjectStorage;size:I
    • capacity

      private int capacity
      Mappings:
      Namespace Name Mixin selector
      official c Lnm;c:I
      intermediary field_7125 Lnet/minecraft/class_1697;field_7125:I
      named capacity Lnet/minecraft/util/IntObjectStorage;capacity:I
    • growthFactor

      private final float growthFactor
      Mappings:
      Namespace Name Mixin selector
      official d Lnm;d:F
      intermediary field_7126 Lnet/minecraft/class_1697;field_7126:F
      named growthFactor Lnet/minecraft/util/IntObjectStorage;growthFactor:F
  • Constructor Details

    • IntObjectStorage

      public IntObjectStorage()
  • Method Details

    • hash

      private static int hash​(int key)
      Mappings:
      Namespace Name Mixin selector
      official g Lnm;g(I)I
      intermediary method_6593 Lnet/minecraft/class_1697;method_6593(I)I
      named hash Lnet/minecraft/util/IntObjectStorage;hash(I)I
    • getIndex

      private static int getIndex​(int hash, int bucketLength)
      Mappings:
      Namespace Name Mixin selector
      official a Lnm;a(II)I
      intermediary method_6583 Lnet/minecraft/class_1697;method_6583(II)I
      named getIndex Lnet/minecraft/util/IntObjectStorage;getIndex(II)I
    • get

      public V get​(int key)
      Mappings:
      Namespace Name Mixin selector
      official a Lnm;a(I)Ljava/lang/Object;
      intermediary method_6582 Lnet/minecraft/class_1697;method_6582(I)Ljava/lang/Object;
      named get Lnet/minecraft/util/IntObjectStorage;get(I)Ljava/lang/Object;
    • hasEntry

      public boolean hasEntry​(int key)
      Mappings:
      Namespace Name Mixin selector
      official b Lnm;b(I)Z
      intermediary method_6587 Lnet/minecraft/class_1697;method_6587(I)Z
      named hasEntry Lnet/minecraft/util/IntObjectStorage;hasEntry(I)Z
    • getEntry

      final IntObjectStorage.Entry<V> getEntry​(int key)
      Mappings:
      Namespace Name Mixin selector
      official c Lnm;c(I)Lnm$a;
      intermediary method_6589 Lnet/minecraft/class_1697;method_6589(I)Lnet/minecraft/class_1697$class_1698;
      named getEntry Lnet/minecraft/util/IntObjectStorage;getEntry(I)Lnet/minecraft/util/IntObjectStorage$Entry;
    • set

      public void set​(int key, V value)
      Mappings:
      Namespace Name Mixin selector
      official a Lnm;a(ILjava/lang/Object;)V
      intermediary method_6585 Lnet/minecraft/class_1697;method_6585(ILjava/lang/Object;)V
      named set Lnet/minecraft/util/IntObjectStorage;set(ILjava/lang/Object;)V
    • expandSize

      private void expandSize​(int updatedSize)
      Mappings:
      Namespace Name Mixin selector
      official h Lnm;h(I)V
      intermediary method_6594 Lnet/minecraft/class_1697;method_6594(I)V
      named expandSize Lnet/minecraft/util/IntObjectStorage;expandSize(I)V
    • moveTo

      private void moveTo​(IntObjectStorage.Entry<V>[] newEntryArray)
      Mappings:
      Namespace Name Mixin selector
      official a Lnm;a([Lnm$a;)V
      intermediary method_6586 Lnet/minecraft/class_1697;method_6586([Lnet/minecraft/class_1697$class_1698;)V
      named moveTo Lnet/minecraft/util/IntObjectStorage;moveTo([Lnet/minecraft/util/IntObjectStorage$Entry;)V
    • remove

      public V remove​(int key)
      Mappings:
      Namespace Name Mixin selector
      official d Lnm;d(I)Ljava/lang/Object;
      intermediary method_6590 Lnet/minecraft/class_1697;method_6590(I)Ljava/lang/Object;
      named remove Lnet/minecraft/util/IntObjectStorage;remove(I)Ljava/lang/Object;
    • removeEntry

      final IntObjectStorage.Entry<V> removeEntry​(int key)
      Mappings:
      Namespace Name Mixin selector
      official e Lnm;e(I)Lnm$a;
      intermediary method_6591 Lnet/minecraft/class_1697;method_6591(I)Lnet/minecraft/class_1697$class_1698;
      named removeEntry Lnet/minecraft/util/IntObjectStorage;removeEntry(I)Lnet/minecraft/util/IntObjectStorage$Entry;
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      official c Lnm;c()V
      intermediary method_6588 Lnet/minecraft/class_1697;method_6588()V
      named clear Lnet/minecraft/util/IntObjectStorage;clear()V
    • insert

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