ToStringStyle that does not print out the classname, identity hashcode, content start or field name.
ToStringStyle
This is an inner class rather than using StandardToStringStyle to ensure its immutability.
StandardToStringStyle
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)
9192939495969798
if (this == obj) { return true; } final FormInput rhs = (FormInput) obj; return new EqualsBuilder().append(this.identification, rhs.getIdentification()) .append(this.type, rhs.getType()).isEquals(); }
7677787980818283848586
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())
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(); }
1679168016811682168316841685
* * @see java.lang.Object#hashCode() */ @Override public int hashCode() { return new HashCodeBuilder().append(rowKey).append(colIndex).toHashCode(); }