A - type of inputs + outputpublic interface BinaryInplaceOnlyOp<A> extends BinaryInplaceOp<A,A>, BinaryInplace1OnlyOp<A,A>
BinaryInplaceOp which is not a hybrid.
Like its supertype BinaryInplace1OnlyOp, even though it is a binary
op, it has only TWO inputs: arg (the first input, which is
also the output) and in (the second input). In contrast, a
BinaryHybridCFI has THREE inputs: out (the output,
which is of type BOTH), in1 (the first input) and in2 (the
second input).
SpecialOp.Flavor| Modifier and Type | Method and Description |
|---|---|
default BinaryInplaceOnlyOp<A> |
getIndependentInstance()
Gets a reference to an instance of this object which can be used
simultaneously from a second thread while this instance is being used from
"its" thread.
|
mutate2, runin, in1, mutate, mutate1, runin2, setInput, setInput1, setInput2run, runcandidates, filterArity, opops, setEnvironmentinitializedefault BinaryInplaceOnlyOp<A> getIndependentInstance()
ThreadableIt is expected that subclasses which override this method will narrow the return type appropriately. We do not enforce this at compile time via recursive generics due to their complexity: they introduce a host of typing difficulties.
getIndependentInstance in interface BinaryInplace1OnlyOp<A,A>getIndependentInstance in interface BinaryInplace1Op<A,A,A>getIndependentInstance in interface BinaryInplaceOp<A,A>getIndependentInstance in interface BinaryOp<A,A,A>getIndependentInstance in interface NullaryOp<A>getIndependentInstance in interface SpecialOpgetIndependentInstance in interface ThreadablegetIndependentInstance in interface UnaryInplaceOp<A,A>getIndependentInstance in interface UnaryOp<A,A>Copyright © 2014–2022 ImageJ. All rights reserved.