class Partition {

    public boolean isDiscrete() {
        for (SortedSet<Integer> cell : cells) {
            if (cell.size() != 1) {
                return false;
            }
        }
        return true;
    }

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

}