Package org.infinispan.commons.util
Class ArrayCollector
- java.lang.Object
-
- org.infinispan.commons.util.ArrayCollector
-
- All Implemented Interfaces:
Supplier<ArrayCollector>
,Collector<Object,ArrayCollector,ArrayCollector>
public class ArrayCollector extends Object implements Collector<Object,ArrayCollector,ArrayCollector>, Supplier<ArrayCollector>
-
-
Constructor Summary
Constructors Constructor Description ArrayCollector(Object[] array)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BiConsumer<ArrayCollector,Object>
accumulator()
void
add(Object item)
Set<Collector.Characteristics>
characteristics()
BinaryOperator<ArrayCollector>
combiner()
Function<ArrayCollector,ArrayCollector>
finisher()
ArrayCollector
get()
Supplier<ArrayCollector>
supplier()
-
-
-
Constructor Detail
-
ArrayCollector
public ArrayCollector(Object[] array)
-
-
Method Detail
-
add
public void add(Object item)
-
supplier
public Supplier<ArrayCollector> supplier()
-
get
public ArrayCollector get()
-
accumulator
public BiConsumer<ArrayCollector,Object> accumulator()
-
combiner
public BinaryOperator<ArrayCollector> combiner()
-
finisher
public Function<ArrayCollector,ArrayCollector> finisher()
-
characteristics
public Set<Collector.Characteristics> characteristics()
-
-