public static <T> Collector<T, ?, ParetoFront<T>>
	toParetoFront(final Comparator<? super T> dominance) {
		requireNonNull(dominance);

		return Collector.of(
			() -> new ParetoFront<>(dominance),
			ParetoFront::add,
			ParetoFront::merge
		);
	}
Return a pareto-front collector with the given pareto {@code dominance}
measure.

@param dominance the pareto dominance comparator
@param <T> the element type
@return a new pareto-front collector
@throws NullPointerException if the given {@code dominance} collector is
        {@code null}
jenetics.ext/src/main/java/io/jenetics/ext/moea/ParetoFront.java