Inner class defining a rule.
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)
204205206207208209210211212213214
@Override public final boolean equals(Object object) { if (object instanceof RowSorter) { return new EqualsBuilder() .append(this.property, ((RowSorter) object).property) .append(this.columnIndex, ((RowSorter) object).columnIndex) .isEquals(); }
459460461462463464465466467468469
if (!(object instanceof PortletHref)) { return false; } PortletHref rhs = (PortletHref) object; return new EqualsBuilder() .append(this.isAction, rhs.isAction) .append(this.parameters, rhs.parameters) .append(this.requestedMode, rhs.requestedMode) .append(this.requestedState, rhs.requestedState) .append(this.requestedSecure, rhs.requestedSecure)
443444445446447448449450451452453
return false; } DefaultHref rhs = (DefaultHref) object; // "parameters" can't be added directly, since equals on HashMap doesn't return true with equal key/values return new EqualsBuilder() .append(this.parameters.keySet(), rhs.parameters.keySet()) .append(this.parameters.values().toArray(), rhs.parameters.values().toArray()) .append(this.url, rhs.url) .append(this.anchor, rhs.anchor) .isEquals();
774775776777778779780781782783784
{ return false; } CFMetaData rhs = (CFMetaData) obj; return new EqualsBuilder() .append(ksName, rhs.ksName) .append(cfName, rhs.cfName) .append(cfType, rhs.cfType) .append(comparator, rhs.comparator) .append(comment, rhs.comment)
333334335336337338339340341342343344
} @Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(373, 75437) .append(metadata) .append(deletionInfo()); for (Cell cell : this) builder.append(cell); return builder.toHashCode(); }
331332333334335336337338339340341342
} @Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(373, 75437) .append(metadata) .append(deletionInfo()); for (Column column : this) builder.append(column); return builder.toHashCode(); }