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 of
Procedure that holds on to the minimum element seen so far,
determined by the Function.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoid
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
function
-
visitedAtLeastOnce
protected boolean visitedAtLeastOnce -
result
-
cachedResultValue
-
-
Constructor Details
-
MinByProcedure
-
-
Method Details
-
isVisitedAtLeastOnce
public boolean isVisitedAtLeastOnce() -
getResult
-
getResultOptional
-
value
-