Package org.apache.commons.lang3.builder

Examples of org.apache.commons.lang3.builder.EqualsBuilder


  @Override
  public boolean equals(final Object other) {
    if (!(other instanceof SheetUpdate))
      return false;
    SheetUpdate castOther = (SheetUpdate) other;
    return new EqualsBuilder().append(rowIndex, castOther.rowIndex).append(colIndex, castOther.colIndex).isEquals();
  }
View Full Code Here


  @Override
  public boolean equals(final Object other) {
    if (!(other instanceof BadUpdate))
      return false;
    BadUpdate castOther = (BadUpdate) other;
    return new EqualsBuilder().append(badRowKey, castOther.badRowKey)
        .append(badColIndex, castOther.badColIndex).isEquals();
  }
View Full Code Here

        }
        if (this == obj) {
            return true;
        }
        PeptideSearchResult rhs = (PeptideSearchResult) obj;
        return new EqualsBuilder().append(id, rhs.id)
                .append(peptideSequence, rhs.peptideSequence)
                .append(proteinName, rhs.proteinName)
                .append(peptideStart, rhs.peptideStart)
                .append(peptideStop, rhs.peptideStop)
                .append(confidenceScore, rhs.confidenceScore).isEquals();
View Full Code Here

  public boolean equals(Object other) {
    if (!(other instanceof GenericListWidgetItem)) {
      return false;
    }
    GenericListWidgetItem li = (GenericListWidgetItem) other;
    return (new EqualsBuilder()).append(this.text, li.text).append(this.title, li.title).append(this.iconUrl, li.iconUrl).isEquals();
  }
View Full Code Here

  @Override
  public boolean equals(Object obj) {
    if (obj instanceof Location) {
      Location other = (Location) obj;
      return (new EqualsBuilder()).append(getX(), other.getX()).append(getY(), other.getY()).append(getZ(), other.getZ()).append(getYaw(), other.getYaw()).append(getPitch(), other.getPitch()).isEquals();
    }
    return false;
  }
View Full Code Here

  @Override
  public boolean equals(Object obj) {
    if (obj instanceof FastVector) {
      FastVector other = (FastVector) obj;
      return (new EqualsBuilder()).append(x, other.getX()).append(y, other.getY()).append(z, other.getZ()).isEquals();
    }
    return false;
  }
View Full Code Here

  @Override
  public boolean equals(Object obj) {
    if (obj instanceof Rectangle) {
      Rectangle other = (Rectangle) obj;
      return (new EqualsBuilder()).append(width, other.width).append(height, other.height).append(x, other.x).append(y, other.y).isEquals();
    }
    return false;
  }
View Full Code Here

        if (other == null)
            return false;
        if (other == this)
            return true;
        if (this.getClass().equals(other.getClass()))
            return new EqualsBuilder().append(value(), ((AbstractValueType) other).value()).isEquals();
        return false;
    }
View Full Code Here

            return true;
        }
        if (obj.getClass() != getClass()) {
            return false;
        }
        return new EqualsBuilder().isEquals();
    }
View Full Code Here

            return true;
        }
        if (obj.getClass() != getClass()) {
            return false;
        }
        return new EqualsBuilder().isEquals();
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.lang3.builder.EqualsBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.