Column implements Iterable<T>, Serializable { public T get(int row) { return row >= data.size() ? null : data.get(row); } Column(Class<T> dataType, T... data);  Column(Class<T> dataType, Iterable<T> data); T get(int row); int size(); boolean isNumeric(); Class<? extends Comparable<?>> getType(); double getStatistics(String key); @Override int hashCode(); @Override boolean equals(Object obj); @Override Iterator<T> iterator();  }
@Test public void testGetReturnsValueAtSpecifiedElement() { Column<Integer> column = new Column<>(Integer.class, 1, 2, 3, 4); int value = column.get(1); assertEquals(2, value); }