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