long
85868788899091929394
@Override public int compareTo( @NotNull(message = "other can't be NULL") final RepoCommit other ) { return new CompareToBuilder().append( this.repo().coordinates(), other.repo().coordinates() ).append(this.sha(), other.sha()).build(); }
108109110111112113114115116117
@Override public int compareTo( @NotNull(message = "cont should not be NULL") final Content cont ) { return new CompareToBuilder() .append(this.path(), cont.path()) .append(this.repo().coordinates(), cont.repo().coordinates()) .build(); }
193194195196197198199200201202
@Override public int compareTo( @NotNull(message = "label can't be NULL") final Label label ) { return new CompareToBuilder() .append(this.repo().coordinates(), label.repo().coordinates()) .append(this.obj, label.name()) .build(); }
114115116117118119120121122123
} @Override public int compareTo( @NotNull(message = "other can't be NULL") final Coordinates other ) { return new CompareToBuilder() .append(this.usr, other.user()) .append(this.rpo, other.repo()) .build(); }
16681669167016711672167316741675
@Override public boolean equals(final Object other) { if (!(other instanceof RowColIndex)) return false; RowColIndex castOther = (RowColIndex) other; return new EqualsBuilder().append(rowKey, castOther.rowKey).append(colIndex, castOther.colIndex) .isEquals(); }
5152535455565758596061
public boolean equals(Object obj) { if (obj == null) return false; if (obj == this) return true; if (Purchaser.class.isAssignableFrom(obj.getClass())) { final Purchaser other = Purchaser.class.cast(obj); return new EqualsBuilder().append(this.id, other.id) .append(this.name, other.name) .append(this.address, other.address) .append(this.nip, other.nip).isEquals(); } return false;
170171172173174175176177
{ return false; } QueryResult<?> c = (QueryResult<?>) obj; return new EqualsBuilder().append(getNode(), c.getNode()) .append(getAttributeName(), c.getAttributeName()).isEquals(); }
193194195196197198199200201202203
{ 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())
188189190191192193194195196197198
{ 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())
152153154155156157158159160161162
{ 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)