V - steam elementsT - elements of the tensor in the tensorbackedTB - tensorbacked class to produce, must extend Tensorbacked<T>public class TensorbackedCollector<V,T,TB extends Tensorbacked<T>> extends AbstractTensoricCollector<V,T,TB>
AbstractTensoricCollector implementation to collect to an arbitrary Tensorbacked class.| Constructor and Description |
|---|
TensorbackedCollector(java.lang.Class<TB> tensorBackedClass,
java.util.function.Function<V,Position> positionMapper,
java.util.function.Function<V,T> valueMapper) |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Function<java.util.Map<Position,T>,TB> |
finisher() |
accumulator, characteristics, combiner, supplier