public DoubleMoments doubleMoments(final int windowSize) {
			return DoubleMoments.of(
				stream(windowSize).collect(
					DoubleMomentStatistics::new,
					DoubleMomentStatistics::accept,
					DoubleMomentStatistics::combine
				)
			);
		}
Return the double moment statistics of the last {@code windowSize}
buffer values.

@param windowSize the number of the last double values the statistics
       consists of
@return the double moment statistics of the last {@code windowSize}
        buffer values
jenetics/src/main/java/io/jenetics/engine/FitnessConvergenceLimit.java