class ISINGrid {

    public Point getGridPoint(int binIndex, Point gridPoint) {
        //gridPoint = (gridPoint == null) ? new Point() : gridPoint;
        final int rowIndex = getRowIndex(binIndex);
        gridPoint.x = (rowIndex == -1) ? -1 : (binIndex - binOffsets[rowIndex]);
        gridPoint.y = rowIndex;
        return gridPoint;
    }

    public  ISINGrid(int rowCount);

}