net.minecraft.util.collection

class LinkedBlockPosHashSet$Storage

extends it.unimi.dsi.fastutil.longs.Long2LongLinkedOpenHashMap

net.minecraft.world.level.lighting.SpatialLongSet$InternalMap
net.minecraft.class_6136$class_6137
net.minecraft.util.collection.LinkedBlockPosHashSet$Storage

Field summary

Modifier and TypeField
private static final int
X_BITS
field_31716
STARTING_OFFSET
private static final int
Z_BITS
field_31717
HORIZONTAL_COLUMN_BIT_SEPARATION
private static final int
Y_BITS
field_31718
FIELD_SPACING
private static final int
Y_OFFSET
field_31719
Y_BIT_OFFSET
private static final int
Z_OFFSET
field_31720
X_BIT_OFFSET
private static final int
X_OFFSET
field_31721
Z_BIT_OFFSET
private static final long
OUTER_MASK
field_31722
MAX_POSITION
private int
lastPos
field_31723
lastWrittenIndex
private long
lastOuterKey
field_31724
lastWrittenKey
private final int
minSize
field_31725
expectedSize

Constructor summary

ModifierConstructor
public (int expectedSize, float loadFactor)

Method summary

Modifier and TypeMethod
static long
getOuterKey(long key)
method_35483(long arg0)
getKey(long posLong)
static int
getInnerKey(long key)
method_35486(long arg0)
getBlockOffset(long posLong)
static long
getFullKey(long outerKey, int innerKey)
method_35484(long arg0, int arg1)
getBlockPosLong(long key, int valueLength)
public boolean
addBit(long key)
method_35487(long arg0)
add(long posLong)
private boolean
replaceBit(int pos, long bitMask)
method_35482(int arg0, long arg1)
setBits(int index, long mask)
public boolean
removeBit(long key)
method_35488(long arg0)
rem(long posLong)
private boolean
removeFromNullEntry(long bitMask)
method_35489(long arg0)
unsetBits(long mask)
private boolean
removeFromEntry(int pos, long bitMask)
method_35485(int arg0, long arg1)
unsetBitsAt(int index, long mask)
public long
removeFirstBit()
method_35481()
removeFirstLong()
protected void
rehash(int newN)
rehash(int arg0)
rehash(int newN)