public class MinComparatorProcedure<T> extends ComparatorProcedure<T>
Procedure that holds on to the minimum element seen so far,
determined by the Comparator| Constructor and Description |
|---|
MinComparatorProcedure(Comparator<? super T> comparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
value(T each) |
getResult, isVisitedAtLeastOncepublic MinComparatorProcedure(Comparator<? super T> comparator)
public void value(T each)
Copyright © 2004–2016. All rights reserved.