Column implements Iterable<T>, Serializable { public double getStatistics(String key) { return new Statistics(data).get(key); } 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 testStatistics() { assertEquals( 8.0, col2.getStatistics(Statistics.N), DELTA); assertEquals( 1.0, col2.getStatistics(Statistics.MIN), DELTA); assertEquals(11.0, col2.getStatistics(Statistics.MAX), DELTA); assertEquals(44.0, col2.getStatistics(Statistics.SUM), DELTA); }