public final class AggregateMax<E> extends Object implements Aggregator<E,E>
Aggregator.Creator<E,R>| Constructor and Description |
|---|
AggregateMax(Comparator<? super E> comparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(E element)
Aggregate single element to the collecting object.
|
E |
yield()
Builds or aggregates the added elements to one collected object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetpublic AggregateMax(Comparator<? super E> comparator)
public final void accept(E element)
Aggregatorpublic final E yield()
Aggregatoryield in interface Aggregator<E,E>Copyright © 2022 MicroStream Software. All rights reserved.