NumberColumn extends AbstractColumn<C, T> implements NumericColumn<T> { @Override public String getString(final int row) { final double value = getDouble(row); if (DoubleColumnType.valueIsMissing(value)) { return ""; } return String.valueOf(printFormatter.format(value)); } 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 testIndexColumn() { IntColumn numberColumn = IntColumn.indexColumn("index", 12424, 0); assertEquals("12423", numberColumn.getString(numberColumn.size() - 1)); }