Package tech.tablesaw.index
Class ShortIndex
java.lang.Object
tech.tablesaw.index.ShortIndex
- All Implemented Interfaces:
Index
An index for
ShortColumn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatLeast
(short value) Returns aSelection
of all values at least as large as the given valueatMost
(short value) Returns aSelection
of all values at most as large as the given valueget
(short value) Returns a bitmap containing row numbers of all cells matching the given intgreaterThan
(short value) Returns aSelection
of all values greater than the given valuelessThan
(short value) Returns aSelection
of all values less than the given value
-
Constructor Details
-
ShortIndex
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
-