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