M
- type converting from, probably Mask or MaskIntervalR
- type converting to, probably RandomAccessible or
RandomAccessibleIntervalpublic abstract class AbstractMaskToRAConverter<M extends Mask,R extends RandomAccessible<BoolType>> extends AbstractConverter<M,R>
Mask
to RandomAccessible
. This is
specifically for converting to RandomAccessible<BoolType
and should
not be used for other types.Constructor and Description |
---|
AbstractMaskToRAConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class<?> src,
Class<?> dest) |
boolean |
canConvert(Class<?> src,
Type dest)
Deprecated.
|
boolean |
canConvert(Object src,
Class<?> dest) |
boolean |
canConvert(Object src,
Type dest) |
abstract R |
convert(M src) |
<T> T |
convert(Object src,
Class<T> dest) |
canConvert, convert, convert, getType, populateInputCandidates, supports
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInputType, getOutputType
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
@Deprecated public boolean canConvert(Class<?> src, Type dest)
canConvert
in interface Converter<M extends Mask,R extends RandomAccessible<BoolType>>
canConvert
in class AbstractConverter<M extends Mask,R extends RandomAccessible<BoolType>>
public boolean canConvert(Object src, Type dest)
canConvert
in interface Converter<M extends Mask,R extends RandomAccessible<BoolType>>
canConvert
in class AbstractConverter<M extends Mask,R extends RandomAccessible<BoolType>>
public boolean canConvert(Object src, Class<?> dest)
canConvert
in interface Converter<M extends Mask,R extends RandomAccessible<BoolType>>
canConvert
in class AbstractConverter<M extends Mask,R extends RandomAccessible<BoolType>>
public boolean canConvert(Class<?> src, Class<?> dest)
canConvert
in interface Converter<M extends Mask,R extends RandomAccessible<BoolType>>
canConvert
in class AbstractConverter<M extends Mask,R extends RandomAccessible<BoolType>>
Copyright © 2014–2022 ImageJ. All rights reserved.