@Test public void serde_columns() { ParameterTable table = IterativeExtensions.builder() .next() .put("a", "A") .put("b", "B") .put("c", "C") .build(); ParameterTable restored = restore(table); assertThat(restored.getRowCount(), is(1)); List<ParameterSet> rows = restored.getRows(); Map<String, String> map = rows.get(0).toMap(); assertThat(map.keySet(), containsInAnyOrder("a", "b", "c")); assertThat(map, hasEntry("a", "A")); assertThat(map, hasEntry("b", "B")); assertThat(map, hasEntry("c", "C")); }
public static ParameterTable.Builder builder() { return new BasicParameterTable.BasicBuilder(); }
IterativeExtensions { public static ParameterTable.Builder builder() { return new BasicParameterTable.BasicBuilder(); } }
IterativeExtensions { public static ParameterTable.Builder builder() { return new BasicParameterTable.BasicBuilder(); } private  IterativeExtensions(); }
IterativeExtensions { public static ParameterTable.Builder builder() { return new BasicParameterTable.BasicBuilder(); } private  IterativeExtensions(); static ParameterTable.Builder builder(); static ParameterTable load(InputStream input); static void save(OutputStream output, ParameterTable table); }
IterativeExtensions { public static ParameterTable.Builder builder() { return new BasicParameterTable.BasicBuilder(); } private  IterativeExtensions(); static ParameterTable.Builder builder(); static ParameterTable load(InputStream input); static void save(OutputStream output, ParameterTable table); static final String EXTENSION_NAME; }