public class SingleArrayAggregationState extends Object implements ArrayAggregationState
| Constructor and Description |
|---|
SingleArrayAggregationState(Type type) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Block block,
int position) |
void |
forEach(ArrayAggregationStateConsumer consumer) |
long |
getEstimatedSize() |
boolean |
isEmpty() |
void |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmergepublic SingleArrayAggregationState(Type type)
public long getEstimatedSize()
getEstimatedSize in interface AccumulatorStatepublic void add(Block block, int position)
add in interface ArrayAggregationStatepublic void forEach(ArrayAggregationStateConsumer consumer)
forEach in interface ArrayAggregationStatepublic boolean isEmpty()
isEmpty in interface ArrayAggregationStatepublic void reset()
reset in interface ArrayAggregationStateCopyright © 2012–2019. All rights reserved.