Package net.imglib2.blocks
Class ViewPropertiesOrError<T extends NativeType<T>,R extends NativeType<R>>
- java.lang.Object
-
- net.imglib2.blocks.ViewPropertiesOrError<T,R>
-
class ViewPropertiesOrError<T extends NativeType<T>,R extends NativeType<R>> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringerrorMessageprivate FallbackProperties<T>fallbackPropertiesprivate ViewProperties<T,R>viewProperties
-
Constructor Summary
Constructors Constructor Description ViewPropertiesOrError(ViewProperties<T,R> viewProperties, FallbackProperties<T> fallbackProperties, java.lang.String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorMessage()FallbackProperties<T>getFallbackProperties()ViewProperties<T,R>getViewProperties()booleanisFullySupported()Whether optimizedPrimitiveBlockscopying from the view is supported.booleanisSupported()WhetherPrimitiveBlockscopying from the view is supported, at all, eitherfullyor via the fall-back implementation.
-
-
-
Field Detail
-
viewProperties
private final ViewProperties<T extends NativeType<T>,R extends NativeType<R>> viewProperties
-
fallbackProperties
private final FallbackProperties<T extends NativeType<T>> fallbackProperties
-
errorMessage
private final java.lang.String errorMessage
-
-
Constructor Detail
-
ViewPropertiesOrError
ViewPropertiesOrError(ViewProperties<T,R> viewProperties, FallbackProperties<T> fallbackProperties, java.lang.String errorMessage)
-
-
Method Detail
-
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
public ViewProperties<T,R> getViewProperties()
-
getFallbackProperties
public FallbackProperties<T> getFallbackProperties()
-
getErrorMessage
public java.lang.String getErrorMessage()
-
-