public class ConstantContainerFactory extends ContainerFactory
useOptimizedContainers
Constructor and Description |
---|
ConstantContainerFactory() |
Modifier and Type | Method and Description |
---|---|
<T extends Type<T>> |
createContainer(int[] dim,
T type)
This method is called by
Image . |
String |
getErrorMessage() |
void |
printProperties() |
void |
setParameters(String configuration) |
setOptimizedContainerUse, useOptimizedContainers
public <T extends Type<T>> ConstantContainer<T> createContainer(int[] dim, T type)
ContainerFactory
Image
. The ContainerFactory
can decide how to create the Container
,
if it is for example a DirectAccessContainerFactory
it will ask the Type
to create a
suitable Container
for the Type
and the dimensionalitycreateContainer
in class ContainerFactory
Container
- the instantiated Containerpublic void printProperties()
public String getErrorMessage()
public void setParameters(String configuration)
Copyright © 2015–2021 Fiji. All rights reserved.