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