DimensionalTable { public int size() { return dataColumn.size(); } private  DimensionalTable();  DimensionalTable(List<String> headerNames); void appendRow(DATA data, Object... keys); void appendRow(DATA data, Map<String, ?> keys); @SuppressWarnings("element-type-mismatch") DATA getDataPoint(List<?> keys); DATA getDataPoint(Map<String, ?> keys); List<DATA> getDataPoints(Map<String, ?> keys); List<DATA> getAllDataPoints(); int size();  }
@Test public void serializationRestorationTest() throws Exception { DimensionalTable<Integer> table = createTestTable(); int size = table.size(); table = KryoCloneUtils.cloneObject(table); Assert.assertEquals(size, table.size()); }