@Override
  public boolean equals(Object obj) {
    if (obj instanceof AbsoluteSymbolPosition other) {
      if (pageNumber == other.pageNumber && symbolOffsetInPage == other.symbolOffsetInPage) {
        return true;
      }
    }
    return false;
  }
@Override
  public boolean equals(Object obj)