public boolean sameState(final IntMomentStatistics other) {
		return _min == other._min &&
			_max == other._max &&
			_sum == other._sum &&
			super.sameState(other);
	}
Compares the state of two {@code IntMomentStatistics} 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 IntMomentStatistics ims1 = null; // @replace substring='null' replacement="..."
final IntMomentStatistics ims2 = null; // @replace substring='null' replacement="..."

if (ims1.sameState(ims2)) {
    final int value = random.nextInt(1_000_000);
    ims1.accept(value);
    ims2.accept(value);

    assert ims1.sameState(ims2);
    assert ims2.sameState(ims1);
    assert ims1.sameState(ims1);
}
}

@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/IntMomentStatistics.java