Class VoxelDataTypeFactoryMultiplexer<T>
Object
org.anchoranalysis.image.voxel.datatype.VoxelDataTypeFactoryMultiplexer<T>
- Type Parameters:
T- type of factory provided for a particular voxel-data-type
- Direct Known Subclasses:
VoxelsFactory
public abstract class VoxelDataTypeFactoryMultiplexer<T> extends Object
Multiplexes between factories for the various
VoxelDataTypes.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description VoxelDataTypeFactoryMultiplexer(T factoryUnsignedByte, T factoryUnsignedShort, T factoryUnsignedInt, T factoryFloat) -
Method Summary
Modifier and Type Method Description Tget(VoxelDataType dataType)Multiplexes one of the factories according to data-type
-
Constructor Details
-
Method Details
-
get
Multiplexes one of the factories according to data-type- Parameters:
dataType- the type to find a factory for- Returns:
- a factory if it exists, or else an exception
-