@Override public String toString() { return String.format("HColumn(%s=%s)",getName(), getValue()); }
@Override public int hashCode() { return new HashCodeBuilder().append(getName()).append(getValue()).append(getClock()).toHashCode(); }
@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (obj.getClass() != getClass()) { return false; } @SuppressWarnings("unchecked") HColumnImpl<N,V> other = (HColumnImpl<N,V>) obj; return new EqualsBuilder().appendSuper(super.equals(obj)).append(getName(), other.getName()). append(getValue(), other.getValue()).append(getClock(), other.getClock()).isEquals(); } }
@Override public String toString() { return String.format("HColumn(%s=%s)",getName(), getValue()); }
@Override public String toString() { return String.format("HColumn(%s=%s)",getName(), getValue()); }
@Override public int hashCode() { return new HashCodeBuilder().append(getName()).append(getValue()).append(getClock()).toHashCode(); }
@Override public int hashCode() { return new HashCodeBuilder().append(getName()).append(getValue()).append(getClock()).toHashCode(); }
@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (obj.getClass() != getClass()) { return false; } @SuppressWarnings("unchecked") HColumnImpl<N,V> other = (HColumnImpl<N,V>) obj; return new EqualsBuilder().appendSuper(super.equals(obj)).append(getName(), other.getName()). append(getValue(), other.getValue()).append(getClock(), other.getClock()).isEquals(); } }
@Override public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (obj.getClass() != getClass()) { return false; } @SuppressWarnings("unchecked") HColumnImpl<N,V> other = (HColumnImpl<N,V>) obj; return new EqualsBuilder().appendSuper(super.equals(obj)).append(getName(), other.getName()). append(getValue(), other.getValue()).append(getClock(), other.getClock()).isEquals(); } }