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