boolean (Object o) { if (this == o) return true; if (!(o instanceof NodePrintElement that)) return false; if (myPositionInCurrentRow != that.getPositionInCurrentRow()) return false; if (myRowIndex != that.getRowIndex()) return false; return true; }