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, wait
merge
public SingleArrayAggregationState(Type type)
public long getEstimatedSize()
getEstimatedSize
in interface AccumulatorState
public void add(Block block, int position)
add
in interface ArrayAggregationState
public void forEach(ArrayAggregationStateConsumer consumer)
forEach
in interface ArrayAggregationState
public boolean isEmpty()
isEmpty
in interface ArrayAggregationState
public void reset()
reset
in interface ArrayAggregationState
Copyright © 2012–2019. All rights reserved.