NumberColumn extends AbstractColumn<C, T> implements NumericColumn<T> { protected NumberColumn(final ColumnType type, final String name) { super(type, name); } protected  NumberColumn(final ColumnType type, final String name); NumberColumn<C, T> set(DoublePredicate condition, NumberColumn<C, T> other); NumberColumn<C, T> set(DoublePredicate condition, T newValue); void setPrintFormatter(final NumberFormat format, final String missingValueString); void setPrintFormatter(final NumberColumnFormatter formatter); abstract NumericColumn<T> top(final int n); abstract NumericColumn<T> bottom(final int n); @Override String getString(final int row); @Override C emptyCopy(); @Override C emptyCopy(final int rowSize); abstract C copy(); @Override IntComparator rowComparator(); @Override int byteSize(); @Override abstract byte[] asBytes(final int rowNumber); @Override abstract C appendMissing(); @Override int countMissing();  }
@Test public void testDoubleIsIn() { int[] originalValues = new int[] {32, 42, 40, 57, 52, -2}; double[] inValues = new double[] {10, -2, 57, -5}; DoubleColumn initial = DoubleColumn.create("Test", originalValues.length); Table t = Table.create("t", initial); for (int value : originalValues) { initial.append(value); } Selection filter = t.numberColumn("Test").isIn(inValues); Table result = t.where(filter); assertNotNull(result); }