Package tech.tablesaw.index
Class DoubleIndex
java.lang.Object
tech.tablesaw.index.DoubleIndex
- All Implemented Interfaces:
Index
An index for double-precision 64-bit IEEE 754 floating point columns.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatLeast
(double value) Returns aSelection
of all values at least as large as the given valueatMost
(double value) Returns aSelection
of all values at most as large as the given valueget
(double value) Returns a bitmap containing row numbers of all cells matching the given intgreaterThan
(double value) Returns aSelection
of all values greater than the given valuelessThan
(double value) Returns aSelection
of all values less than the given value
-
Constructor Details
-
DoubleIndex
Constructs an index for the given column
-
-
Method Details
-
get
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
Returns aSelection
of all values at least as large as the given value -
greaterThan
Returns aSelection
of all values greater than the given value -
atMost
Returns aSelection
of all values at most as large as the given value -
lessThan
Returns aSelection
of all values less than the given value
-