GenericColumn extends AbstractColumn<V, I> { public static <V, I extends ColumnIds.GenericColumnId> GenericColumn<V, I> of(I id, V value) { return of(id, value, LinkedHashMap.empty()); } private  GenericColumn(I id, Array<V> values, Map<String, String> metaData); static GenericColumn<V, I> of(I id, V value); static GenericColumn<V, I> of(I id, V value, Map<String, String> metaData); @SafeVarargs static GenericColumn<V, I> ofAll(I id, V... values); static GenericColumn<V, I> ofAll(I id, Iterable<V> values); static GenericColumn<V, I> ofAll(I id, Iterable<V> values, Map<String, String> metaData);  }
@Test public void of() { GenericColumn<File, GenericColumnId> column = GenericColumn.of(ID, FILE_A); assertEquals(ID, column.getId()); assertEquals(1, column.getRowCount()); assertEquals(FILE_A, column.getValueAt(0)); assertEquals(Array.of(FILE_A), column.getValues().toArray()); }