Class LongObjectHashMap

java.lang.Object
net.minecraft.util.LongObjectHashMap

@Environment(SERVER) public class LongObjectHashMap extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_101
glue class_149
server dx
client net/minecraft/class_101
named net/minecraft/util/LongObjectHashMap
  • Field Details

    • entries

      private transient LongObjectHashMapEntry[] entries
      Mappings:
      Namespace Name Mixin selector
      intermediary field_324 Lnet/minecraft/class_101;field_324:[Lnet/minecraft/class_102;
      glue field_544 Lclass_149;field_544:[Lclass_387;
      server a Ldx;a:[Lkd;
      client field_324 Lnet/minecraft/class_101;field_324:[Lnet/minecraft/class_102;
      named entries Lnet/minecraft/util/LongObjectHashMap;entries:[Lnet/minecraft/LongObjectHashMapEntry;
    • size

      private transient int size
      Mappings:
      Namespace Name Mixin selector
      intermediary field_325 Lnet/minecraft/class_101;field_325:I
      glue field_545 Lclass_149;field_545:I
      server b Ldx;b:I
      client field_325 Lnet/minecraft/class_101;field_325:I
      named size Lnet/minecraft/util/LongObjectHashMap;size:I
    • capacity

      private int capacity
      Mappings:
      Namespace Name Mixin selector
      intermediary field_326 Lnet/minecraft/class_101;field_326:I
      glue field_546 Lclass_149;field_546:I
      server c Ldx;c:I
      client field_326 Lnet/minecraft/class_101;field_326:I
      named capacity Lnet/minecraft/util/LongObjectHashMap;capacity:I
    • loadFactor

      private final float loadFactor
      Mappings:
      Namespace Name Mixin selector
      intermediary field_327 Lnet/minecraft/class_101;field_327:F
      glue field_547 Lclass_149;field_547:F
      server d Ldx;d:F
      client field_327 Lnet/minecraft/class_101;field_327:F
      named loadFactor Lnet/minecraft/util/LongObjectHashMap;loadFactor:F
    • modCount

      private transient volatile int modCount
      Mappings:
      Namespace Name Mixin selector
      intermediary field_328 Lnet/minecraft/class_101;field_328:I
      glue field_548 Lclass_149;field_548:I
      server e Ldx;e:I
      client field_328 Lnet/minecraft/class_101;field_328:I
      named modCount Lnet/minecraft/util/LongObjectHashMap;modCount:I
  • Constructor Details

    • LongObjectHashMap

      public LongObjectHashMap()
  • Method Details

    • hash

      private static int hash(long key)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_393 Lnet/minecraft/class_101;method_393(J)I
      glue method_727 Lclass_149;method_727(J)I
      server e Ldx;e(J)I
      client method_393 Lnet/minecraft/class_101;method_393(J)I
      named hash Lnet/minecraft/util/LongObjectHashMap;hash(J)I
    • hash

      private static int hash(int key)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_383 Lnet/minecraft/class_101;method_383(I)I
      glue method_717 Lclass_149;method_717(I)I
      server a Ldx;a(I)I
      client method_383 Lnet/minecraft/class_101;method_383(I)I
      named hash Lnet/minecraft/util/LongObjectHashMap;hash(I)I
    • indexOf

      private static int indexOf(int hash, int arrayLength)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_384 Lnet/minecraft/class_101;method_384(II)I
      glue method_718 Lclass_149;method_718(II)I
      server a Ldx;a(II)I
      client method_384 Lnet/minecraft/class_101;method_384(II)I
      named indexOf Lnet/minecraft/util/LongObjectHashMap;indexOf(II)I
    • get

      public Object get(long key)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_386 Lnet/minecraft/class_101;method_386(J)Ljava/lang/Object;
      glue method_720 Lclass_149;method_720(J)Ljava/lang/Object;
      server a Ldx;a(J)Ljava/lang/Object;
      client method_386 Lnet/minecraft/class_101;method_386(J)Ljava/lang/Object;
      named get Lnet/minecraft/util/LongObjectHashMap;get(J)Ljava/lang/Object;
    • put

      public void put(long key, Object value)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_387 Lnet/minecraft/class_101;method_387(JLjava/lang/Object;)V
      glue method_721 Lclass_149;method_721(JLjava/lang/Object;)V
      server a Ldx;a(JLjava/lang/Object;)V
      client method_387 Lnet/minecraft/class_101;method_387(JLjava/lang/Object;)V
      named put Lnet/minecraft/util/LongObjectHashMap;put(JLjava/lang/Object;)V
    • resize

      private void resize(int size)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_389 Lnet/minecraft/class_101;method_389(I)V
      glue method_723 Lclass_149;method_723(I)V
      server b Ldx;b(I)V
      client method_389 Lnet/minecraft/class_101;method_389(I)V
      named resize Lnet/minecraft/util/LongObjectHashMap;resize(I)V
    • transfer

      private void transfer(LongObjectHashMapEntry[] entryArray)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_388 Lnet/minecraft/class_101;method_388([Lnet/minecraft/class_102;)V
      glue method_722 Lclass_149;method_722([Lclass_387;)V
      server a Ldx;a([Lkd;)V
      client method_388 Lnet/minecraft/class_101;method_388([Lnet/minecraft/class_102;)V
      named transfer Lnet/minecraft/util/LongObjectHashMap;transfer([Lnet/minecraft/LongObjectHashMapEntry;)V
    • remove

      public Object remove(long key)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_390 Lnet/minecraft/class_101;method_390(J)Ljava/lang/Object;
      glue method_724 Lclass_149;method_724(J)Ljava/lang/Object;
      server b Ldx;b(J)Ljava/lang/Object;
      client method_390 Lnet/minecraft/class_101;method_390(J)Ljava/lang/Object;
      named remove Lnet/minecraft/util/LongObjectHashMap;remove(J)Ljava/lang/Object;
    • removeEntry

      final LongObjectHashMapEntry removeEntry(long key)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_391 Lnet/minecraft/class_101;method_391(J)Lnet/minecraft/class_102;
      glue method_725 Lclass_149;method_725(J)Lclass_387;
      server c Ldx;c(J)Lkd;
      client method_391 Lnet/minecraft/class_101;method_391(J)Lnet/minecraft/class_102;
      named removeEntry Lnet/minecraft/util/LongObjectHashMap;removeEntry(J)Lnet/minecraft/LongObjectHashMapEntry;
    • addEntry

      private void addEntry(int hash, long key, Object value, int index)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_385 Lnet/minecraft/class_101;method_385(IJLjava/lang/Object;I)V
      glue method_719 Lclass_149;method_719(IJLjava/lang/Object;I)V
      server a Ldx;a(IJLjava/lang/Object;I)V
      client method_385 Lnet/minecraft/class_101;method_385(IJLjava/lang/Object;I)V
      named addEntry Lnet/minecraft/util/LongObjectHashMap;addEntry(IJLjava/lang/Object;I)V