Class CopyKernel.Utils

java.lang.Object
io.deephaven.engine.table.impl.util.copy.CopyKernel.Utils
Enclosing interface:
CopyKernel

public static class CopyKernel.Utils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    nextSetBit(long[] words, int fromIndex, int endIndex, boolean flipWords)
    Returns the index of the first bit that is set to true that occurs on or after the specified starting index and up to but not including the specified word rowSet.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • nextSetBit

      public static int nextSetBit(long[] words, int fromIndex, int endIndex, boolean flipWords)
      Returns the index of the first bit that is set to true that occurs on or after the specified starting index and up to but not including the specified word rowSet.

      If no such bit exists then endIndex is returned.

      Parameters:
      words - the bitset data array
      fromIndex - the index to start checking from (inclusive)
      endIndex - the index to stop checking from (exclusive)
      flipWords - if true return first false bit set instead of the first true bit set
      Returns:
      the index of the next set bit, any value >= endIndex is returned if no such bit exists