public String toString(Object dataSet) { return Column.asList(this, dataSet).toString(); } }
i, representationValues.get(i).permute(sources));
i, representationValues.get(i).permute(sources));
public String toString(Object dataSet) { return Column.asList(this, dataSet).toString(); } }
public String toString(Object dataSet) { return Column.asList(this, dataSet).toString(); } }
public String toString(Object dataSet) { return Column.asList(this, dataSet).toString(); } }
/** Freezes the contents of this value set into a column, optionally * re-ordering if {@code sources} is specified. */ ArrayTable.Column freeze(int ordinal, int[] sources) { ArrayTable.Representation representation = chooseRep(ordinal); final int cardinality = map.size() + (containsNull ? 1 : 0); final Object data = representation.freeze(this, sources); return new ArrayTable.Column(representation, data, cardinality); }
public Column permute(int[] sources) { return new Column( representation, representation.permute(dataSet, sources), cardinality); }
/** Freezes the contents of this value set into a column, optionally * re-ordering if {@code sources} is specified. */ ArrayTable.Column freeze(int ordinal, int[] sources) { ArrayTable.Representation representation = chooseRep(ordinal); final int cardinality = map.size() + (containsNull ? 1 : 0); final Object data = representation.freeze(this, sources); return new ArrayTable.Column(representation, data, cardinality); }
private void checkColumn(ArrayTable.Column x, ArrayTable.RepresentationType expectedRepresentationType, String expectedString) { assertEquals( expectedRepresentationType, x.representation.getType()); assertEquals(expectedString, x.toString()); } }
public String toString(Object dataSet) { return Column.asList(this, dataSet).toString(); } }
public String toString(Object dataSet) { return Column.asList(this, dataSet).toString(); } }
public String toString(Object dataSet) { return Column.asList(this, dataSet).toString(); } }
public String toString(Object dataSet) { return Column.asList(this, dataSet).toString(); } }
public Column permute(int[] sources) { return new Column( representation, representation.permute(dataSet, sources), cardinality); }
private void checkColumn(ArrayTable.Column x, ArrayTable.RepresentationType expectedRepresentationType, String expectedString) { assertEquals( expectedRepresentationType, x.representation.getType()); assertEquals(expectedString, x.toString()); } }