public class ShapeListContainerFactory extends ContainerFactory
useOptimizedContainers
Constructor and Description |
---|
ShapeListContainerFactory() |
ShapeListContainerFactory(int cacheSize) |
Modifier and Type | Method and Description |
---|---|
<T extends Type<T>> |
createContainer(int[] dim,
T type)
This method is called by
Image . |
int |
getCacheSize() |
boolean |
getCaching() |
String |
getErrorMessage() |
void |
printProperties() |
void |
setCacheSize(int cacheSize) |
void |
setCaching(boolean useCaching) |
void |
setParameters(String configuration) |
setOptimizedContainerUse, useOptimizedContainers
public ShapeListContainerFactory()
public ShapeListContainerFactory(int cacheSize)
public void setCaching(boolean useCaching)
public void setCacheSize(int cacheSize)
public boolean getCaching()
public int getCacheSize()
public <T extends Type<T>> ShapeList<T> createContainer(int[] dim, T type)
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 String getErrorMessage()
public void printProperties()
public void setParameters(String configuration)
Copyright © 2015–2021 Fiji. All rights reserved.