Class FloatIndex

java.lang.Object
tech.tablesaw.index.FloatIndex
All Implemented Interfaces:
Index

public class FloatIndex extends Object implements Index
An index for single-precision 32-bit IEEE 754 floating point columns.
  • Constructor Details

    • FloatIndex

      public FloatIndex(FloatColumn column)
      Constructs an index for the given column
  • Method Details

    • get

      public Selection get(float value)
      Returns a bitmap containing row numbers of all cells matching the given int
      Parameters:
      value - This is a 'key' from the index perspective, meaning it is a value from the standpoint of the column
    • atLeast

      public Selection atLeast(float value)
      Returns a Selection of all values at least as large as the given value
    • greaterThan

      public Selection greaterThan(float value)
      Returns a Selection of all values greater than the given value
    • atMost

      public Selection atMost(float value)
      Returns a Selection of all values at most as large as the given value
    • lessThan

      public Selection lessThan(float value)
      Returns a Selection of all values less than the given value