RegularGaussianGrid extends AbstractGaussianGrid { @Override public int getRowIndex(long binIndex) { return (int) (binIndex / getConfig().getRegularColumnCount()); } RegularGaussianGrid(int numRows); @Override int getRowIndex(long binIndex); @Override long getNumBins();  }
@Test public void testGetRowIndex() { assertEquals(2, grid.getRowIndex(270)); }