public class MaxComparatorProcedure<T> extends ComparatorProcedure<T>
Procedure that holds on to the maximum element seen so far,
determined by the Comparator.comparator, result, visitedAtLeastOnce| Constructor and Description |
|---|
MaxComparatorProcedure(java.util.Comparator<? super T> comparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
value(T each) |
getResult, isVisitedAtLeastOnce