Package org.apache.commons.lang3.builder

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


        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        SourceCodeChange other = (SourceCodeChange) obj;
        return new EqualsBuilder().append(getChangeType(), other.getChangeType())
                .append(getSignificanceLevel(), other.getSignificanceLevel())
                .append(getChangedEntity(), other.getChangedEntity())
                .append(getParentEntity(), other.getParentEntity()).append(getRootEntity(), other.getRootEntity())
                .isEquals();
    }
View Full Code Here


        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        Update other = (Update) obj;
        return new EqualsBuilder().appendSuper(super.equals(obj)).append(getNewEntity(), other.getNewEntity())
                .append(getParentEntity(), other.getParentEntity()).isEquals();
    }
View Full Code Here

        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        AbstractHistory other = (AbstractHistory) obj;
        return new EqualsBuilder()
                .append(getUniqueName(), other.getUniqueName())
                .append(
                        new ArrayList<StructureEntityVersion>(getVersions()),
                        new ArrayList<StructureEntityVersion>(other.getVersions())).isEquals();
    }
View Full Code Here

        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        Move other = (Move) obj;
        return new EqualsBuilder().appendSuper(super.equals(obj)).append(getNewEntity(), other.getNewEntity())
                .append(getNewParentEntity(), other.getNewParentEntity()).isEquals();
    }
View Full Code Here

        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        Insert other = (Insert) obj;
        return new EqualsBuilder().appendSuper(super.equals(obj)).append(getParentEntity(), other.getParentEntity())
                .isEquals();
    }
View Full Code Here

        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        SourceCodeEntity other = (SourceCodeEntity) obj;
        return new EqualsBuilder().append(getUniqueName(), other.getUniqueName()).append(getType(), other.getType())
                .append(getModifiers(), other.getModifiers()).append(getSourceRange(), other.getSourceRange())
                .isEquals();
    }
View Full Code Here

    {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        StatsMetadata that = (StatsMetadata) o;
        return new EqualsBuilder()
                       .append(estimatedRowSize, that.estimatedRowSize)
                       .append(estimatedColumnCount, that.estimatedColumnCount)
                       .append(replayPosition, that.replayPosition)
                       .append(minTimestamp, that.minTimestamp)
                       .append(maxTimestamp, that.maxTimestamp)
View Full Code Here

        {
            return false;
        }

        FileLocator c = (FileLocator) obj;
        return new EqualsBuilder().append(getFileName(), c.getFileName())
                .append(getBasePath(), c.getBasePath())
                .append(sourceURLAsString(), c.sourceURLAsString())
                .append(getEncoding(), c.getEncoding())
                .append(getFileSystem(), c.getFileSystem())
                .append(getLocationStrategy(), c.getLocationStrategy())
View Full Code Here

        {
            return false;
        }

        QueryResult<?> c = (QueryResult<?>) obj;
        return new EqualsBuilder().append(getNode(), c.getNode())
                .append(getAttributeName(), c.getAttributeName()).isEquals();
    }
View Full Code Here

        {
            return false;
        }

        DefaultExpressionEngineSymbols c = (DefaultExpressionEngineSymbols) obj;
        return new EqualsBuilder()
                .append(getPropertyDelimiter(), c.getPropertyDelimiter())
                .append(getEscapedDelimiter(), c.getEscapedDelimiter())
                .append(getIndexStart(), c.getIndexStart())
                .append(getIndexEnd(), c.getIndexEnd())
                .append(getAttributeStart(), c.getAttributeStart())
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.