class Partition {

    public int getIndexOfFirstNonDiscreteCell() {
        for (int i = 0; i < this.cells.size(); i++) {
            if (!isDiscreteCell(i)) return i;
        }
        return -1; // XXX
    }

    public  Partition();
    public  Partition(Partition other);
    public  Partition(int[][] cellData);

}