public int getCellsPnt() {Iterator<Character> i = cells.keySet().iterator();int size = 0;for (; i.hasNext();) {Character c = i.next();Cell e = at(c);if (e.ref >= 0) {size++;}}return size;}
public int GetCellsPnt(){int size = 0;foreach (char c in cells.Keys){Cell e = At(c);if (e.@ref >= 0){size++;}}return size;}