Module io.smallrye.mutiny.math
Package io.smallrye.mutiny.math
Class MinOperator<T extends java.lang.Comparable<T>>
- java.lang.Object
-
- io.smallrye.mutiny.math.MinOperator<T>
-
- Type Parameters:
T- type of the incoming items.
public class MinOperator<T extends java.lang.Comparable<T>> extends java.lang.Object implements java.util.function.Function<Multi<T>,Multi<T>>
Min operator emitting the min of the emitted items from upstream. If the upstream emits a failure, the failure is propagated. It only emits the minimum if the received item is smaller than the previously emitted minimum. Note that this operator relies onComparable.
-
-
Constructor Summary
Constructors Constructor Description MinOperator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Multi<T>apply(Multi<T> multi)
-