Class ViewPropertiesOrError<T extends NativeType<T>, R extends NativeType<R>>
java.lang.Object
net.imglib2.blocks.ViewPropertiesOrError<T,R>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final FallbackProperties<T> private final ViewProperties<T, R> -
Constructor Summary
ConstructorsConstructorDescriptionViewPropertiesOrError(ViewProperties<T, R> viewProperties, FallbackProperties<T> fallbackProperties, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether optimizedPrimitiveBlockscopying from the view is supported.booleanWhetherPrimitiveBlockscopying from the view is supported, at all, eitherfullyor via the fall-back implementation.
-
Field Details
-
viewProperties
-
fallbackProperties
-
errorMessage
-
-
Constructor Details
-
ViewPropertiesOrError
ViewPropertiesOrError(ViewProperties<T, R> viewProperties, FallbackProperties<T> fallbackProperties, String errorMessage)
-
-
Method Details
-
isSupported
public boolean isSupported()WhetherPrimitiveBlockscopying from the view is supported, at all, eitherfullyor via the fall-back implementation.- Returns:
true, ifPrimitiveBlockscopying from the view is supported, at all.
-
isFullySupported
public boolean isFullySupported()Whether optimizedPrimitiveBlockscopying from the view is supported.- Returns:
true, if optimizedPrimitiveBlockscopying from the view is supported.
-
getViewProperties
-
getFallbackProperties
-
getErrorMessage
-