A- type of inputs + output
public interface BinaryInplaceOnlyOp<A> extends BinaryInplaceOp<A,A>, BinaryInplace1OnlyOp<A,A>
BinaryInplaceOpwhich 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
|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
in2, setInput, setInput1, setInput2
default BinaryInplaceOnlyOp<A> 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.