Class MinByProcedure<T,V extends Comparable<? super V>>
- java.lang.Object
-
- org.eclipse.collections.impl.block.procedure.MinByProcedure<T,V>
-
- All Implemented Interfaces:
Serializable,Consumer<T>,Procedure<T>
public class MinByProcedure<T,V extends Comparable<? super V>> extends Object implements Procedure<T>
Implementation ofProcedurethat holds on to the minimum element seen so far, determined by theFunction.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MinByProcedure(Function<? super T,? extends V> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetResult()Optional<T>getResultOptional()booleanisVisitedAtLeastOnce()voidvalue(T each)
-