Class SimpleTensorbackedBuilder<V,​TB extends Tensorbacked<V>>

  • Type Parameters:
    V - the type of the values of the tensor (and thus also the tensor backed object)
    TB - the type of the tensor backed object
    All Implemented Interfaces:
    TensorbackedBuilder<V,​TB>

    public class SimpleTensorbackedBuilder<V,​TB extends Tensorbacked<V>>
    extends java.lang.Object
    implements TensorbackedBuilder<V,​TB>
    A builder for tensor backed objects, which takes care that only positions which are compatible with the dimensions of the foreseen underlaying tensor are put into it. Internally, it uses a builder for a tensor, to which most of the methods are delegated. At build time, the tensor is encapsulated in the according tensor backed class.

    This class is not thread safe.