Class FastBitSet

java.lang.Object
com.fastasyncworldedit.core.math.FastBitSet

public class FastBitSet extends Object
  • Constructor Details

    • FastBitSet

      public FastBitSet(int size)
    • FastBitSet

      public FastBitSet(long[] bits, int size)
  • Method Details

    • create

      public static long[] create(int size)
    • get

      public static boolean get(long[] bits, int i)
    • set

      public static void set(long[] bits, int i)
    • clear

      public static void clear(long[] bits, int i)
    • set

      public static void set(long[] bits, int i, boolean v)
    • setRange

      public static void setRange(long[] bits, int b, int e)
    • clearRange

      public static void clearRange(long[] bits, int b, int e)
    • setAll

      public static void setAll(long[] bits)
    • unsetAll

      public static void unsetAll(long[] bits)
    • and

      public static void and(long[] bits, long[] other)
    • or

      public static void or(long[] bits, long[] other)
    • get

      public boolean get(int i)
    • set

      public void set(int i)
    • clear

      public void clear(int i)
    • set

      public void set(int i, boolean v)
    • setRange

      public void setRange(int b, int e)
    • clearRange

      public void clearRange(int b, int e)
    • and

      public void and(FastBitSet other)
    • or

      public void or(FastBitSet other)
    • cardinality

      public int cardinality()
    • size

      public int size()
    • iterator

      public FastBitSet.IntIterator iterator()