public static class Aggregators.MinMaxConsumer<V extends Comparable<V>> extends Object implements IItemConsumer<Aggregators.MinMaxConsumer<V>>
| Constructor and Description |
|---|
MinMaxConsumer(IMemberAccessor<? extends V,IItem> accessor,
boolean max) |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(IItem item)
Consumes another item.
|
Aggregators.MinMaxConsumer<V> |
merge(Aggregators.MinMaxConsumer<V> other)
Merges this object with the supplied object.
|
public MinMaxConsumer(IMemberAccessor<? extends V,IItem> accessor, boolean max)
public void consume(IItem item)
IItemConsumerconsume in interface IItemConsumer<Aggregators.MinMaxConsumer<V extends Comparable<V>>>public Aggregators.MinMaxConsumer<V> merge(Aggregators.MinMaxConsumer<V> other)
IItemConsumermerge in interface IItemConsumer<Aggregators.MinMaxConsumer<V extends Comparable<V>>>other - another instance to merge withCopyright © 2019. All rights reserved.