@Test(dataProvider = "minTestValues") public void min( final Named<Comparator<Integer>> comparator, final Integer a, final Integer b, final Integer min ) { assertEquals(MinMax.min(comparator.value, a, b), min); }
public C min() { return _min; }
MinMax implements Consumer<C> { public C min() { return _min; } }
MinMax implements Consumer<C> { public C min() { return _min; } private  MinMax(final Comparator<? super C> comparator); }
MinMax implements Consumer<C> { public C min() { return _min; } private  MinMax(final Comparator<? super C> comparator); @Override void accept(final C object); MinMax<C> combine(final MinMax<C> other); long count(); C min(); C max(); boolean sameState(final MinMax<C> other); @Override String toString(); static T min(final Comparator<? super T> comp, final T a, final T b); static T max(final Comparator<? super T> comp, final T a, final T b); static Collector<T, ?, MinMax<T>> toMinMax(final Comparator<? super T> comparator); static Collector<C, ?, MinMax<C>> toMinMax(); static MinMax<T> of(final Comparator<? super T> comparator); static MinMax<C> of(); static Function<C, Stream<C>> toStrictlyIncreasing(); static Function<C, Stream<C>> toStrictlyDecreasing(); static Function<T, Stream<T>> toStrictlyImproving(final Comparator<? super T> comparator); }
MinMax implements Consumer<C> { public C min() { return _min; } private  MinMax(final Comparator<? super C> comparator); @Override void accept(final C object); MinMax<C> combine(final MinMax<C> other); long count(); C min(); C max(); boolean sameState(final MinMax<C> other); @Override String toString(); static T min(final Comparator<? super T> comp, final T a, final T b); static T max(final Comparator<? super T> comp, final T a, final T b); static Collector<T, ?, MinMax<T>> toMinMax(final Comparator<? super T> comparator); static Collector<C, ?, MinMax<C>> toMinMax(); static MinMax<T> of(final Comparator<? super T> comparator); static MinMax<C> of(); static Function<C, Stream<C>> toStrictlyIncreasing(); static Function<C, Stream<C>> toStrictlyDecreasing(); static Function<T, Stream<T>> toStrictlyImproving(final Comparator<? super T> comparator);  }