Class FlatBitsetUtil

java.lang.Object
ca.spottedleaf.concurrentutil.util.FlatBitsetUtil

public final class FlatBitsetUtil extends Object
  • Method Details

    • bitsetToInts

      public static int[] bitsetToInts(long[] bitset)
    • intsToBitset

      public static long[] intsToBitset(int[] ints)
    • get

      public static boolean get(long[] bitset, int index)
    • firstSet

      public static int firstSet(long[] bitset, int from, int to)
    • firstClear

      public static int firstClear(long[] bitset, int from, int to)
    • clearRange

      public static void clearRange(long[] bitset, int from, int to)
    • isRangeSet

      public static boolean isRangeSet(long[] bitset, int from, int to)