public static <T> MinMax<T> of(final Comparator<? super T> comparator) {
		return new MinMax<>(comparator);
	}
Create a new {@code MinMax} <i>consumer</i> with the given
{@link java.util.Comparator}.

@param comparator the comparator used for comparing two elements
@param <T> the element type
@return a new {@code MinMax} <i>consumer</i>
@throws java.lang.NullPointerException if the {@code comparator} is
        {@code null}.
jenetics/src/main/java/io/jenetics/stat/MinMax.java