public boolean sameState(final LongMomentStatistics other) {
		return _min == other._min &&
			_max == other._max &&
			_sum == other._sum &&
			super.sameState(other);
	}
Compares the state of two {@code LongMomentStatistics} objects. This is
a replacement for the {@link #equals(Object)} which is not advisable to
implement for this mutable object. If two objects have the same state, it
has still the same state when updated with the same value.
{@snippet lang="java":
final LongMomentStatistics lms1 = null; // @replace substring='null' replacement="..."
final LongMomentStatistics lms2 = null; // @replace substring='null' replacement="..."

if (lms1.sameState(lms2)) {
    final long value = random.nextInt(1_000_000);
    lms1.accept(value);
    lms2.accept(value);

    assert lms1.sameState(lms2);
    assert lms2.sameState(lms1);
    assert lms1.sameState(lms1);
}
}

@since 3.7

@param other the other object for the test
@return {@code true} the {@code this} and the {@code other} objects have
        the same state, {@code false} otherwise
jenetics/src/main/java/io/jenetics/stat/LongMomentStatistics.java