DoubleIndex implements Index { public Selection greaterThan(double value) { Selection selection = new BitmapBackedSelection(); Double2ObjectSortedMap<IntArrayList> tail = index.tailMap(value + 0.000001); for (IntArrayList keys : tail.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 testGT() { Selection fromCol = table.numberColumn("stop_lat").eval(NumberPredicates.isGreaterThan(30.330425)); Selection fromIdx = index.greaterThan(30.330425); assertEquals(fromCol, fromIdx); }