public class MinByProcedure<T,V extends Comparable<? super V>> extends Object implements Procedure<T>
Procedure that holds on to the minimum element seen so far,
determined by the Function.| Constructor and Description |
|---|
MinByProcedure(Function<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
T |
getResult() |
Optional<T> |
getResultOptional() |
boolean |
isVisitedAtLeastOnce() |
void |
value(T each) |
Copyright © 2004–2022. All rights reserved.