I1
- type of first inputI2
- type of second inputO
- type of outputDI1
- type of first input accepted by the worker opDI2
- type of second input accepted by the worker opDO
- type of output accepted by the worker oppublic abstract class BCViaBC<I1 extends DI1,I2 extends DI2,O extends DO,DI1,DI2,DO> extends AbstractBinaryComputerOp<I1,I2,O> implements DelegatingBinaryOp<I1,I2,O,DI1,DI2,DO,BinaryComputerOp<DI1,DI2,DO>>
BinaryComputerOp
s that delegate to other
BinaryComputerOp
s.SpecialOp.Flavor
Constructor and Description |
---|
BCViaBC() |
Modifier and Type | Method and Description |
---|---|
void |
compute(I1 input1,
I2 input2,
O output)
Computes the output given two inputs.
|
void |
initialize()
Initializes the object.
|
in1, in2, out, setInput1, setInput2, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createWorker
getArity, getIndependentInstance, run, run
candidates, filterArity, op
ops, setEnvironment
in, in1, in2, setInput, setInput1, setInput2
compute, getIndependentInstance, run, run
compute, run
run
public void initialize()
Initializable
initialize
in interface Initializable
public void compute(I1 input1, I2 input2, O output)
BinaryComputerOp
compute
in interface BinaryComputerOp<I1 extends DI1,I2 extends DI2,O extends DO>
input1
- first argument to the computation, which
must be non-nullinput2
- second argument to the computation, which
must be non-nulloutput
- object where the computation's result will be stored, which
must be non-null and a different object than
input1
and input2
Copyright © 2014–2022 ImageJ. All rights reserved.