Class FallbackPrimitiveBlocks<T extends NativeType<T>, A extends ArrayDataAccess<A>>
java.lang.Object
net.imglib2.blocks.FallbackPrimitiveBlocks<T,A>
- All Implemented Interfaces:
PrimitiveBlocks<T>
class FallbackPrimitiveBlocks<T extends NativeType<T>, A extends ArrayDataAccess<A>>
extends Object
implements PrimitiveBlocks<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface PrimitiveBlocks
PrimitiveBlocks.OnFallback -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NativeTypeFactory<T, A> private final PrimitiveTypeProperties<?, A> private final RandomAccessible<T> private final T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCopy a block from the (T-typed) source into primitive arrays (of the appropriate type).getType()Get a thread-safe version of thisPrimitiveBlocks.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PrimitiveBlocks
copy
-
Field Details
-
source
-
type
-
primitiveTypeProperties
-
nativeTypeFactory
private final NativeTypeFactory<T extends NativeType<T>, A extends ArrayDataAccess<A>> nativeTypeFactory
-
-
Constructor Details
-
FallbackPrimitiveBlocks
-
FallbackPrimitiveBlocks
-
-
Method Details
-
getType
- Specified by:
getTypein interfacePrimitiveBlocks<T extends NativeType<T>>
-
copy
Description copied from interface:PrimitiveBlocksCopy a block from the (T-typed) source into primitive arrays (of the appropriate type).- Specified by:
copyin interfacePrimitiveBlocks<T extends NativeType<T>>- Parameters:
srcPos- min coordinate of the block to copydest- primitive array to copy into. Must correspond toT, for example, ifTisUnsignedByteTypethendestmust bebyte[].size- the size of the block to copy
-
independentCopy
- Specified by:
independentCopyin interfacePrimitiveBlocks<T extends NativeType<T>>
-
threadSafe
Description copied from interface:PrimitiveBlocksGet a thread-safe version of thisPrimitiveBlocks. (Implemented as a wrapper that makesThreadLocalcopies).- Specified by:
threadSafein interfacePrimitiveBlocks<T extends NativeType<T>>
-