Class NibbleArray

java.lang.Object
com.infernalsuite.aswm.api.utils.NibbleArray

public class NibbleArray extends Object
Credits to Minikloon for this class. Source: https://github.com/Minikloon/CraftyWorld/blob/master/crafty-common/src/main/kotlin/world/crafty/common/utils/NibbleArray.kt
  • Constructor Details

    • NibbleArray

      public NibbleArray(int size)
    • NibbleArray

      public NibbleArray(byte[] backing)
  • Method Details

    • get

      public int get(int index)
    • set

      public void set(int index, int value)
    • getBacking

      public byte[] getBacking()
    • clone

      public NibbleArray clone()
      Overrides:
      clone in class Object