A- type of first input + output
I- type of second input
public interface BinaryInplace1OnlyOp<A,I> extends BinaryInplace1Op<A,I,A>
BinaryInplace1Opwhich 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
second input). In contrast, a
BinaryHybridCFI1 has THREE
out (the output, which is of type BOTH),
first input) and
in2 (the second input).
|Modifier and Type||Method and Description|
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
default BinaryInplace1OnlyOp<A,I> getIndependentInstance()
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.
Copyright © 2014–2017 ImageJ. All rights reserved.