Package net.minecraft.util.collection
Class IntObjectStorage<V>
java.lang.Object
net.minecraft.util.collection.IntObjectStorage<V>
- Mappings:
Namespace Name official rgintermediary net/minecraft/class_833named net/minecraft/util/collection/IntObjectStorage
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntObjectStorage.Entry<V>[]private intprivate final floatprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()private voidexpandSize(int updatedSize) get(int key) (package private) final IntObjectStorage.Entry<V>getEntry(int key) private static intgetIndex(int hash, int bucketLength) booleanhasEntry(int key) private static inthash(int key) private voidprivate voidmoveTo(IntObjectStorage.Entry<V>[] newEntryArray) remove(int key) (package private) final IntObjectStorage.Entry<V>removeEntry(int key) void
-
Field Details
-
buckets
- Mappings:
Namespace Name Mixin selector official aLrg;a:[Lrg$a;intermediary field_3066Lnet/minecraft/class_833;field_3066:[Lnet/minecraft/class_833$class_834;named bucketsLnet/minecraft/util/collection/IntObjectStorage;buckets:[Lnet/minecraft/util/collection/IntObjectStorage$Entry;
-
size
private transient int size- Mappings:
Namespace Name Mixin selector official bLrg;b:Iintermediary field_3067Lnet/minecraft/class_833;field_3067:Inamed sizeLnet/minecraft/util/collection/IntObjectStorage;size:I
-
capacity
private int capacity- Mappings:
Namespace Name Mixin selector official cLrg;c:Iintermediary field_3068Lnet/minecraft/class_833;field_3068:Inamed capacityLnet/minecraft/util/collection/IntObjectStorage;capacity:I
-
growthFactor
private final float growthFactor- Mappings:
Namespace Name Mixin selector official dLrg;d:Fintermediary field_3069Lnet/minecraft/class_833;field_3069:Fnamed growthFactorLnet/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 gLrg;g(I)Iintermediary method_2313Lnet/minecraft/class_833;method_2313(I)Inamed hashLnet/minecraft/util/collection/IntObjectStorage;hash(I)I
-
getIndex
private static int getIndex(int hash, int bucketLength) - Mappings:
Namespace Name Mixin selector official aLrg;a(II)Iintermediary method_2302Lnet/minecraft/class_833;method_2302(II)Inamed getIndexLnet/minecraft/util/collection/IntObjectStorage;getIndex(II)I
-
get
- Mappings:
Namespace Name Mixin selector official aLrg;a(I)Ljava/lang/Object;intermediary method_2301Lnet/minecraft/class_833;method_2301(I)Ljava/lang/Object;named getLnet/minecraft/util/collection/IntObjectStorage;get(I)Ljava/lang/Object;
-
hasEntry
public boolean hasEntry(int key) - Mappings:
Namespace Name Mixin selector official bLrg;b(I)Zintermediary method_2306Lnet/minecraft/class_833;method_2306(I)Znamed hasEntryLnet/minecraft/util/collection/IntObjectStorage;hasEntry(I)Z
-
getEntry
- Mappings:
Namespace Name Mixin selector official cLrg;c(I)Lrg$a;intermediary method_2308Lnet/minecraft/class_833;method_2308(I)Lnet/minecraft/class_833$class_834;named getEntryLnet/minecraft/util/collection/IntObjectStorage;getEntry(I)Lnet/minecraft/util/collection/IntObjectStorage$Entry;
-
set
- Mappings:
Namespace Name Mixin selector official aLrg;a(ILjava/lang/Object;)Vintermediary method_2304Lnet/minecraft/class_833;method_2304(ILjava/lang/Object;)Vnamed setLnet/minecraft/util/collection/IntObjectStorage;set(ILjava/lang/Object;)V
-
expandSize
private void expandSize(int updatedSize) - Mappings:
Namespace Name Mixin selector official hLrg;h(I)Vintermediary method_2314Lnet/minecraft/class_833;method_2314(I)Vnamed expandSizeLnet/minecraft/util/collection/IntObjectStorage;expandSize(I)V
-
moveTo
- Mappings:
Namespace Name Mixin selector official aLrg;a([Lrg$a;)Vintermediary method_2305Lnet/minecraft/class_833;method_2305([Lnet/minecraft/class_833$class_834;)Vnamed moveToLnet/minecraft/util/collection/IntObjectStorage;moveTo([Lnet/minecraft/util/collection/IntObjectStorage$Entry;)V
-
remove
- Mappings:
Namespace Name Mixin selector official dLrg;d(I)Ljava/lang/Object;intermediary method_2310Lnet/minecraft/class_833;method_2310(I)Ljava/lang/Object;named removeLnet/minecraft/util/collection/IntObjectStorage;remove(I)Ljava/lang/Object;
-
removeEntry
- Mappings:
Namespace Name Mixin selector official eLrg;e(I)Lrg$a;intermediary method_2311Lnet/minecraft/class_833;method_2311(I)Lnet/minecraft/class_833$class_834;named removeEntryLnet/minecraft/util/collection/IntObjectStorage;removeEntry(I)Lnet/minecraft/util/collection/IntObjectStorage$Entry;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official cLrg;c()Vintermediary method_2307Lnet/minecraft/class_833;method_2307()Vnamed clearLnet/minecraft/util/collection/IntObjectStorage;clear()V
-
insert
- Mappings:
Namespace Name Mixin selector official aLrg;a(IILjava/lang/Object;I)Vintermediary method_2303Lnet/minecraft/class_833;method_2303(IILjava/lang/Object;I)Vnamed insertLnet/minecraft/util/collection/IntObjectStorage;insert(IILjava/lang/Object;I)V
-