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)
IItemConsumer
consume
in interface IItemConsumer<Aggregators.MinMaxConsumer<V extends Comparable<V>>>
public Aggregators.MinMaxConsumer<V> merge(Aggregators.MinMaxConsumer<V> other)
IItemConsumer
merge
in interface IItemConsumer<Aggregators.MinMaxConsumer<V extends Comparable<V>>>
other
- another instance to merge withCopyright © 2020. All rights reserved.