Package tech.tablesaw.index
Class DoubleIndex
- java.lang.Object
-
- tech.tablesaw.index.DoubleIndex
-
-
Constructor Summary
Constructors Constructor Description DoubleIndex(DoubleColumn column)
Constructs an index for the given column
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selection
atLeast(double value)
Returns aSelection
of all values at least as large as the given valueSelection
atMost(double value)
Returns aSelection
of all values at most as large as the given valueSelection
get(double value)
Returns a bitmap containing row numbers of all cells matching the given intSelection
greaterThan(double value)
Returns aSelection
of all values greater than the given valueSelection
lessThan(double value)
Returns aSelection
of all values less than the given value
-
-
-
Constructor Detail
-
DoubleIndex
public DoubleIndex(DoubleColumn column)
Constructs an index for the given column
-
-
Method Detail
-
get
public Selection get(double 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(double value)
Returns aSelection
of all values at least as large as the given value
-
greaterThan
public Selection greaterThan(double value)
Returns aSelection
of all values greater than the given value
-
atMost
public Selection atMost(double value)
Returns aSelection
of all values at most as large as the given value
-
-