Examples of EqualsBuilder


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

    }
    if (!(object instanceof Statistic)) {
      return false;
    }
    Statistic entry = (Statistic) object;
    return new EqualsBuilder().append(this.getType(), entry.getType()).isEquals();
  }
View Full Code Here

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

    }
    if (!(object instanceof StatisticEntry)) {
      return false;
    }
    StatisticEntry entry = (StatisticEntry) object;
    return new EqualsBuilder().append(this.getKey(), entry.getKey()).isEquals();
  }
View Full Code Here

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

   */
  public boolean equals(final Object object) {
    if (!(object instanceof StringIdObject)) { return false; }
    StringIdObject rhs = (StringIdObject) object;
    if (null == getId() || null == rhs.getId()) { return false; }
    return new EqualsBuilder().append(this.getId(), rhs.getId()).isEquals();
  }
View Full Code Here

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

      return false;
    }
    if (proxy == another) {
      return true;
    }
    return new EqualsBuilder().append(proxy.getComponentContract(),
        ((IComponent) another).getComponentContract()).append(
        proxy.straightGetProperties(),
        ((IComponent) another).straightGetProperties()).isEquals();
  }
View Full Code Here

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

    {
      return true;
    }

    FileScope fs = (FileScope) o;
    return new EqualsBuilder()
      .append(pathPattern, fs.pathPattern)
      .append(vcsAfterRev, fs.vcsAfterRev)
      .append(vcsBeforeRev, fs.vcsBeforeRev)
      .isEquals();
  }
View Full Code Here

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

    {
      return true;
    }

    Review r = (Review) o;
    return new EqualsBuilder()
      .append(status, r.status)
      .append(embedded, r.embedded)
      .append(shared, r.shared)
      .append(dataReferential, r.dataReferential)
      .append(goal, r.goal)
View Full Code Here

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

    }
    if (obj.getClass() != getClass()) {
      return false;
    }
    Modifier rhs = (Modifier) obj;
    return new EqualsBuilder().append(name, rhs.name).append(argument, rhs.argument)
        .isEquals();
  }
View Full Code Here

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

    }
    if (obj.getClass() != getClass()) {
      return false;
    }
    Attribute rhs = (Attribute) obj;
    return new EqualsBuilder().append(key, rhs.key).append(value, rhs.value).isEquals();
  }
View Full Code Here

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

    }
    if (obj.getClass() != getClass()) {
      return false;
    }
    SelectorSegment rhs = (SelectorSegment) obj;
    return new EqualsBuilder().append(type, rhs.type).append(attributes, rhs.attributes)
        .append(modifiers, rhs.modifiers).append(hierarchyOperator, rhs.hierarchyOperator).isEquals();
  }
View Full Code Here

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

    }
    if (obj.getClass() != getClass()) {
      return false;
    }
    Option<?> rhs = (Option<?>) obj;
    return new EqualsBuilder().append(element, rhs.element).isEquals();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.