@Override public boolean equals(Object obj) { if (obj == null) return false; if (this == obj) return true; if (getClass() != obj.getClass()) return false; MetricValueCommand<?> other=(MetricValueCommand<?>) obj; return isEquivalent(other) && ObjectUtil.typedEquals(getValue(), other.getValue()); }
@Override public String toString() { return super.toString() + " value=" + getValue(); } }
@Override public int hashCode() { return super.hashCode() + ObjectUtil.hashCode(getValue()); }