A
- type of first input + outputI
- type of second inputpublic interface BinaryInplace1OnlyOp<A,I> extends BinaryInplace1Op<A,I,A>
BinaryInplace1Op
which is not a hybrid.
Hence, 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 BinaryHybridCFI1
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 BinaryInplace1OnlyOp<A,I> |
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.
|
in, in1, mutate, mutate1, run, run
in2, setInput, setInput1, setInput2
run, run
candidates, filterArity, op
ops, setEnvironment
initialize
default BinaryInplace1OnlyOp<A,I> getIndependentInstance()
Threadable
It 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 BinaryInplace1Op<A,I,A>
getIndependentInstance
in interface BinaryOp<A,I,A>
getIndependentInstance
in interface NullaryOp<A>
getIndependentInstance
in interface SpecialOp
getIndependentInstance
in interface Threadable
getIndependentInstance
in interface UnaryInplaceOp<A,A>
getIndependentInstance
in interface UnaryOp<A,A>
Copyright © 2014–2022 ImageJ. All rights reserved.