}
}
}
private void checkNakedSubset(CellSet cells) {
Candidates foundSubset = null;
Set<Integer> matches = null;
for (int i=0; i<cells.numCells(); i++) {
Candidates cands = cells.getCell(i).getCandidates();
matches = new HashSet<Integer>();
matches.add(i);
if (cands != null) {
int n = cands.size();
for (int j=0; j<cells.numCells(); j++) {
Candidates cands2 = cells.getCell(j).getCandidates();
if (j!=i && cands2!=null && cands.containsAll(cands2)) {
matches.add(j);
}
}
if (matches.size() == n) {