Class SpatialLongSet.InternalMap

java.lang.Object
it.unimi.dsi.fastutil.longs.AbstractLong2LongFunction
it.unimi.dsi.fastutil.longs.AbstractLong2LongMap
it.unimi.dsi.fastutil.longs.AbstractLong2LongSortedMap
it.unimi.dsi.fastutil.longs.Long2LongLinkedOpenHashMap
net.minecraft.world.level.lighting.SpatialLongSet.InternalMap
All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<Long,Long>, it.unimi.dsi.fastutil.Hash, it.unimi.dsi.fastutil.longs.Long2LongFunction, it.unimi.dsi.fastutil.longs.Long2LongMap, it.unimi.dsi.fastutil.longs.Long2LongSortedMap, Serializable, Cloneable, Function<Long,Long>, LongUnaryOperator, Map<Long,Long>, SortedMap<Long,Long>
Enclosing class:
SpatialLongSet

protected static class SpatialLongSet.InternalMap extends it.unimi.dsi.fastutil.longs.Long2LongLinkedOpenHashMap
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.longs.AbstractLong2LongSortedMap

    it.unimi.dsi.fastutil.longs.AbstractLong2LongSortedMap.KeySetIterator, it.unimi.dsi.fastutil.longs.AbstractLong2LongSortedMap.ValuesCollection, it.unimi.dsi.fastutil.longs.AbstractLong2LongSortedMap.ValuesIterator

    Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.longs.AbstractLong2LongMap

    it.unimi.dsi.fastutil.longs.AbstractLong2LongMap.BasicEntry, it.unimi.dsi.fastutil.longs.AbstractLong2LongMap.BasicEntrySet

    Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.Hash

    it.unimi.dsi.fastutil.Hash.Strategy<K extends Object>

    Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.longs.Long2LongMap

    it.unimi.dsi.fastutil.longs.Long2LongMap.Entry, it.unimi.dsi.fastutil.longs.Long2LongMap.FastEntrySet

    Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.longs.Long2LongSortedMap

    it.unimi.dsi.fastutil.longs.Long2LongSortedMap.FastSortedEntrySet

    Nested classes/interfaces inherited from interface java.util.Map

    Map.Entry<K extends Object,V extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private long
     
    private int
     
    private final int
     
    private static final long
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     

    Fields inherited from class it.unimi.dsi.fastutil.longs.Long2LongLinkedOpenHashMap

    containsNullKey, entries, f, first, key, keys, last, link, mask, maxFill, minN, n, size, value, values

    Fields inherited from class it.unimi.dsi.fastutil.longs.AbstractLong2LongFunction

    defRetValue

    Fields inherited from interface it.unimi.dsi.fastutil.Hash

    DEFAULT_GROWTH_FACTOR, DEFAULT_INITIAL_SIZE, DEFAULT_LOAD_FACTOR, FAST_LOAD_FACTOR, FREE, OCCUPIED, PRIMES, REMOVED, VERY_FAST_LOAD_FACTOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    InternalMap(int p_164483_, float p_164484_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addBit(long p_164500_)
     
    (package private) static long
    getFullKey(long p_164492_, int p_164493_)
     
    (package private) static int
    getInnerKey(long p_164498_)
     
    (package private) static long
    getOuterKey(long p_164490_)
     
    protected void
    rehash(int p_164506_)
     
    boolean
    removeBit(long p_164502_)
     
    long
     
    private boolean
    removeFromEntry(int p_164495_, long p_164496_)
     
    private boolean
    removeFromNullEntry(long p_164504_)
     
    private boolean
    replaceBit(int p_164487_, long p_164488_)
     

    Methods inherited from class it.unimi.dsi.fastutil.longs.Long2LongLinkedOpenHashMap

    addTo, clear, clone, comparator, compute, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfPresent, containsKey, containsValue, ensureCapacity, firstLongKey, fixPointers, fixPointers, get, getAndMoveToFirst, getAndMoveToLast, getOrDefault, hashCode, headMap, isEmpty, keySet, lastLongKey, long2LongEntrySet, merge, put, putAll, putAndMoveToFirst, putAndMoveToLast, putIfAbsent, remove, remove, removeFirstLong, removeLastLong, replace, replace, shiftKeys, size, subMap, tailMap, trim, trim, values

    Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLong2LongMap

    equals, mergeLong, toString

    Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLong2LongFunction

    defaultReturnValue, defaultReturnValue

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface it.unimi.dsi.fastutil.Function

    apply

    Methods inherited from interface it.unimi.dsi.fastutil.longs.Long2LongFunction

    andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsLong, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort

    Methods inherited from interface it.unimi.dsi.fastutil.longs.Long2LongMap

    compute, computeIfAbsent, computeIfAbsentPartial, computeIfPresent, containsKey, containsValue, defaultReturnValue, defaultReturnValue, forEach, get, getOrDefault, merge, mergeLong, mergeLong, put, putIfAbsent, remove, remove, replace, replace

    Methods inherited from interface it.unimi.dsi.fastutil.longs.Long2LongSortedMap

    entrySet, firstKey, headMap, lastKey, subMap, tailMap

    Methods inherited from interface java.util.function.LongUnaryOperator

    andThen, compose

    Methods inherited from interface java.util.Map

    containsKey, equals, get, getOrDefault, put, remove, replaceAll
  • Field Details

    • X_BITS

      private static final int X_BITS
    • Z_BITS

      private static final int Z_BITS
    • Y_BITS

      private static final int Y_BITS
    • Y_OFFSET

      private static final int Y_OFFSET
      See Also:
    • Z_OFFSET

      private static final int Z_OFFSET
    • X_OFFSET

      private static final int X_OFFSET
    • OUTER_MASK

      private static final long OUTER_MASK
    • lastPos

      private int lastPos
    • lastOuterKey

      private long lastOuterKey
    • minSize

      private final int minSize
  • Constructor Details

    • InternalMap

      public InternalMap(int p_164483_, float p_164484_)
  • Method Details

    • getOuterKey

      static long getOuterKey(long p_164490_)
    • getInnerKey

      static int getInnerKey(long p_164498_)
    • getFullKey

      static long getFullKey(long p_164492_, int p_164493_)
    • addBit

      public boolean addBit(long p_164500_)
    • replaceBit

      private boolean replaceBit(int p_164487_, long p_164488_)
    • removeBit

      public boolean removeBit(long p_164502_)
    • removeFromNullEntry

      private boolean removeFromNullEntry(long p_164504_)
    • removeFromEntry

      private boolean removeFromEntry(int p_164495_, long p_164496_)
    • removeFirstBit

      public long removeFirstBit()
    • rehash

      protected void rehash(int p_164506_)
      Overrides:
      rehash in class it.unimi.dsi.fastutil.longs.Long2LongLinkedOpenHashMap