public abstract class AbstractFunctionEuclideanSpace<P,T> extends Object implements EuclideanSpace
BiConsumer.| Modifier and Type | Field and Description |
|---|---|
protected Supplier<BiConsumer<P,? super T>> |
functionSupplier |
protected int |
n |
protected Supplier<T> |
typeSupplier |
| Constructor and Description |
|---|
AbstractFunctionEuclideanSpace(int n,
BiConsumer<P,? super T> function,
Supplier<T> typeSupplier)
Simplified constructor if the same function is stateless and can be used
concurrently.
|
AbstractFunctionEuclideanSpace(int n,
Supplier<BiConsumer<P,? super T>> functionSupplier,
Supplier<T> typeSupplier)
Constructor for stateful functions that cannot be used concurrently.
|
| Modifier and Type | Method and Description |
|---|---|
int |
numDimensions()
Gets the space's number of dimensions.
|
protected final int n
protected final Supplier<BiConsumer<P,? super T>> functionSupplier
public AbstractFunctionEuclideanSpace(int n,
Supplier<BiConsumer<P,? super T>> functionSupplier,
Supplier<T> typeSupplier)
n - functionSupplier - typeSupplier - public AbstractFunctionEuclideanSpace(int n,
BiConsumer<P,? super T> function,
Supplier<T> typeSupplier)
n - function - typeSupplier - public int numDimensions()
EuclideanSpacenumDimensions in interface EuclideanSpaceCopyright © 2015–2022 ImgLib2. All rights reserved.