V
- the type of the values of the tensor (and thus also the tensor backed object)TB
- the type of the tensor backed objectpublic class TensorbackedBuilder<V,TB extends Tensorbacked<V>>
extends java.lang.Object
This class is not thread safe.
Modifier and Type | Method and Description |
---|---|
TB |
build()
Builds the tensor backed object, after all the content is set.
|
TensorbackedBuilder<V,TB> |
context(java.lang.Object... coordinates) |
TensorbackedBuilder<V,TB> |
context(Position context) |
TensorbackedBuilder<V,TB> |
put(java.util.Map.Entry<Position,V> entry) |
TensorbackedBuilder<V,TB> |
put(Position position,
V value) |
TensorbackedBuilder<V,TB> |
putAll(java.util.Map<Position,V> newEntries) |
TensorbackedBuilder<V,TB> |
putAll(Position position,
java.util.Map<Position,V> entries) |
TensorbackedBuilder<V,TB> |
putAll(Position position,
Tensor<V> tensor) |
TensorbackedBuilder<V,TB> |
putAll(Position position,
Tensorbacked<V> tensorbacked) |
TensorbackedBuilder<V,TB> |
putAll(java.util.Set<java.util.Map.Entry<Position,V>> entries) |
TensorbackedBuilder<V,TB> |
putAll(TB tensorBacked) |
TensorbackedBuilder<V,TB> |
putAll(Tensor<V> tensor) |
TensorbackedBuilder<V,TB> |
remove(Position position) |
public final TensorbackedBuilder<V,TB> put(java.util.Map.Entry<Position,V> entry)
public final TensorbackedBuilder<V,TB> put(Position position, V value)
public final TensorbackedBuilder<V,TB> putAll(java.util.Set<java.util.Map.Entry<Position,V>> entries)
public final TensorbackedBuilder<V,TB> putAll(Position position, java.util.Map<Position,V> entries)
public final TensorbackedBuilder<V,TB> putAll(Position position, Tensorbacked<V> tensorbacked)
public final TensorbackedBuilder<V,TB> putAll(TB tensorBacked)
public final TensorbackedBuilder<V,TB> putAll(Tensor<V> tensor)
public final TensorbackedBuilder<V,TB> putAll(java.util.Map<Position,V> newEntries)
public final TensorbackedBuilder<V,TB> remove(Position position)
public final TensorbackedBuilder<V,TB> context(Position context)
public final TensorbackedBuilder<V,TB> context(java.lang.Object... coordinates)
public TB build()