public static class Aggregators.CountConsumer extends Object implements IItemConsumer<Aggregators.CountConsumer>
| Constructor and Description |
|---|
CountConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(IItem item)
Consumes another item.
|
int |
getCount() |
Aggregators.CountConsumer |
merge(Aggregators.CountConsumer other)
Merges this object with the supplied object.
|
public void consume(IItem item)
IItemConsumerconsume in interface IItemConsumer<Aggregators.CountConsumer>public Aggregators.CountConsumer merge(Aggregators.CountConsumer other)
IItemConsumermerge in interface IItemConsumer<Aggregators.CountConsumer>other - another instance to merge withpublic int getCount()
Copyright © 2019. All rights reserved.