DoubleIndex implements Index { public Selection lessThan(double value) { Selection selection = new BitmapBackedSelection(); Double2ObjectSortedMap<IntArrayList> head = index.headMap(value); for (IntArrayList keys : head.values()) { addAllToSelection(keys, selection); } return selection; } DoubleIndex(DoubleColumn column); Selection get(double value); Selection atLeast(double value); Selection greaterThan(double value); Selection atMost(double value); Selection lessThan(double value);  }
@Test public void testLT() { Selection fromCol = table.numberColumn("stop_lat").eval(NumberPredicates.isLessThan(30.330425)); Selection fromIdx = index.lessThan(30.330425); assertEquals(fromCol, fromIdx); }