- java.lang.Object
-
- org.scijava.types.extract.SubTypeExtractor<NativeImg<?,?>>
-
- org.scijava.ops.image.types.NativeImgTypeExtractor
-
- All Implemented Interfaces:
Comparable<TypeExtractor>,Prioritized<TypeExtractor>,TypeExtractor
public class NativeImgTypeExtractor extends SubTypeExtractor<NativeImg<?,?>>
TypeExtractorplugin which operates onNativeImgobjects.This TypeExtractor is high priority to allow precedence over the RAI TypeExtractor, IterableTypeExtractor, etc. We cannot remove this TypeExtractor in favor of those type extractors since this image type has a second type variable (the data array) that should be reified (otherwise we might have wildcards in the fully reified type).
- Author:
- Gabriel Selzer
-
-
Constructor Summary
Constructors Constructor Description NativeImgTypeExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>baseClass()protected Type[]getTypeParameters(TypeReifier r, NativeImg<?,?> object)doublepriority()-
Methods inherited from class org.scijava.types.extract.SubTypeExtractor
reify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.priority.Prioritized
compareTo
-
-
-
-
Method Detail
-
priority
public double priority()
-
baseClass
public Class<?> baseClass()
-
getTypeParameters
protected Type[] getTypeParameters(TypeReifier r, NativeImg<?,?> object)
- Specified by:
getTypeParametersin classSubTypeExtractor<NativeImg<?,?>>
-
-