V - stream elementsT - elements of the tensor (will build a Tensor<T>)public class TensorCollector<V,T> extends AbstractTensoricCollector<V,T,Tensor<T>>
AbstractTensoricCollector implementation to produce a generic tensor| Constructor and Description |
|---|
TensorCollector(java.util.Set<java.lang.Class<?>> dimensions,
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>,Tensor<T>> |
finisher() |
accumulator, characteristics, combiner, supplier