示例#1
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    if (!super.equals(o)) return false;

    OAbstractPageWALRecord that = (OAbstractPageWALRecord) o;

    if (fileId != that.fileId) return false;
    if (pageIndex != that.pageIndex) return false;
    if (lsn != null ? !lsn.equals(that.lsn) : that.lsn != null) return false;

    return true;
  }