Package org.apache.commons.lang3.builder

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


    if (this == obj) {
      return true;
    }
    final FormInput rhs = (FormInput) obj;

    return new EqualsBuilder().append(this.identification, rhs.getIdentification())
            .append(this.type, rhs.getType()).isEquals();
  }
View Full Code Here


        if (!CollectionUtils.isEqualCollection(this.getURIs(), that.getURIs())) {
            return false;
        }

        return new EqualsBuilder()
            .append(getName(), that.getName())
            .append(getReceivePack(), that.getReceivePack())
            .append(getTagOpt(), that.getTagOpt())
            .append(getTimeout(), that.getTimeout())
            .append(getUploadPack(), that.getUploadPack())
View Full Code Here

            return false;
        }

        PreBuildMergeOptions that = (PreBuildMergeOptions) o;

        return new EqualsBuilder()
            .append(mergeRemote, that.mergeRemote)
            .append(mergeTarget, that.mergeTarget)
            .isEquals();
    }
View Full Code Here

            return false;
        }

        ViewGitWeb that = (ViewGitWeb) o;

        return new EqualsBuilder()
            .append(url, that.url)
            .append(projectName, that.projectName)
            .isEquals();
    }
View Full Code Here

        if (!GitUtils.isEqualCollection(submoduleCfg, that.submoduleCfg)) {
            return false;
        }

        return new EqualsBuilder()
            .append(configVersion, that.configVersion)
            .append(localBranch, that.localBranch)
            .append(mergeOptions, that.mergeOptions)
            .append(recursiveSubmodules, that.recursiveSubmodules)
            .append(doGenerateSubmoduleConfigurations, that.doGenerateSubmoduleConfigurations)
View Full Code Here

     * @param array1  the left hand array to compare, may be <code>null</code>
     * @param array2  the right hand array to compare, may be <code>null</code>
     * @return <code>true</code> if the arrays are equal
     */
    public static boolean isEquals(Object array1, Object array2) {
        return new EqualsBuilder().append(array1, array2).isEquals();
    }
View Full Code Here

     * @param array1  the left hand array to compare, may be {@code null}
     * @param array2  the right hand array to compare, may be {@code null}
     * @return {@code true} if the arrays are equal
     */
    public static boolean isEquals(Object array1, Object array2) {
        return new EqualsBuilder().append(array1, array2).isEquals();
    }
View Full Code Here

     * @deprecated this method has been replaced by {@code java.util.Objects.deepEquals(Object, Object)} and will be
     * removed from future releases.
     */
    @Deprecated
    public static boolean isEquals(final Object array1, final Object array2) {
        return new EqualsBuilder().append(array1, array2).isEquals();
    }
View Full Code Here

     * @return {@code true} if the arrays are equal
     * @deprecated this method has been replaced by {@code java.util.Objects.deepEquals(Object, Object)} and will be
     * removed from future releases.
     */
    public static boolean isEquals(final Object array1, final Object array2) {
        return new EqualsBuilder().append(array1, array2).isEquals();
    }
View Full Code Here

        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        SourceCodeChange other = (SourceCodeChange) obj;
        return new EqualsBuilder().appendSuper(super.equals(obj)).append(getParentEntity(), other.getParentEntity())
                .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.