public abstract class DirectAccessContainerFactory extends PixelGridContainerFactory
useOptimizedContainers
Constructor and Description |
---|
DirectAccessContainerFactory() |
Modifier and Type | Method and Description |
---|---|
abstract <T extends Type<T>> |
createBitInstance(int[] dimensions,
int entitiesPerPixel) |
abstract <T extends Type<T>> |
createByteInstance(int[] dimensions,
int entitiesPerPixel) |
abstract <T extends Type<T>> |
createCharInstance(int[] dimensions,
int entitiesPerPixel) |
<T extends Type<T>> |
createContainer(int[] dim,
T type)
This method is called by
Image . |
abstract <T extends Type<T>> |
createDoubleInstance(int[] dimensions,
int entitiesPerPixel) |
abstract <T extends Type<T>> |
createFloatInstance(int[] dimensions,
int entitiesPerPixel) |
abstract <T extends Type<T>> |
createIntInstance(int[] dimensions,
int entitiesPerPixel) |
abstract <T extends Type<T>> |
createLongInstance(int[] dimensions,
int entitiesPerPixel) |
abstract <T extends Type<T>> |
createShortInstance(int[] dimensions,
int entitiesPerPixel) |
setOptimizedContainerUse, useOptimizedContainers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorMessage, printProperties, setParameters
public <T extends Type<T>> DirectAccessContainer<T,?> createContainer(int[] dim, T type)
Image
. This class will ask the Type
to create a
suitable Container
for the Type
and the dimensionality.
Type
will then call one of the abstract methods defined below to create the
DirectAccessContainer
createContainer
in class PixelGridContainerFactory
Container
- the instantiated Containerpublic abstract <T extends Type<T>> DirectAccessContainer<T,? extends BitAccess> createBitInstance(int[] dimensions, int entitiesPerPixel)
public abstract <T extends Type<T>> DirectAccessContainer<T,? extends ByteAccess> createByteInstance(int[] dimensions, int entitiesPerPixel)
public abstract <T extends Type<T>> DirectAccessContainer<T,? extends CharAccess> createCharInstance(int[] dimensions, int entitiesPerPixel)
public abstract <T extends Type<T>> DirectAccessContainer<T,? extends ShortAccess> createShortInstance(int[] dimensions, int entitiesPerPixel)
public abstract <T extends Type<T>> DirectAccessContainer<T,? extends IntAccess> createIntInstance(int[] dimensions, int entitiesPerPixel)
public abstract <T extends Type<T>> DirectAccessContainer<T,? extends LongAccess> createLongInstance(int[] dimensions, int entitiesPerPixel)
public abstract <T extends Type<T>> DirectAccessContainer<T,? extends FloatAccess> createFloatInstance(int[] dimensions, int entitiesPerPixel)
public abstract <T extends Type<T>> DirectAccessContainer<T,? extends DoubleAccess> createDoubleInstance(int[] dimensions, int entitiesPerPixel)
Copyright © 2015–2021 Fiji. All rights reserved.