Class SingletonBitArray
java.lang.Object
org.geysermc.geyser.level.chunk.bitarray.SingletonBitArray
- All Implemented Interfaces:
BitArray
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SingletonBitArray
public SingletonBitArray()
-
-
Method Details
-
set
public void set(int index, int value) -
get
public int get(int index) -
size
public int size() -
writeSizeToNetwork
public void writeSizeToNetwork(io.netty.buffer.ByteBuf buffer, int size)Description copied from interface:BitArray
Overridden if the bit array implementation does not require size.- Specified by:
writeSizeToNetwork
in interfaceBitArray
-
getWords
public int[] getWords() -
getVersion
- Specified by:
getVersion
in interfaceBitArray
-
copy
-