I1 - type of first inputI2 - type of second inputO - type of output (for both the op and its worker)DI1 - type of first input accepted by the worker opDI2 - type of second input accepted by the worker oppublic abstract class BHCFViaBHCF<I1 extends DI1,I2 extends DI2,O,DI1,DI2> extends AbstractBinaryHybridCF<I1,I2,O> implements DelegatingBinaryOp<I1,I2,O,DI1,DI2,O,BinaryHybridCF<DI1,DI2,O>>
BinaryHybridCFs that delegate to
BinaryHybridCFs.SpecialOp.Flavor| Constructor and Description |
|---|
BHCFViaBHCF() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(I1 input1,
I2 input2,
O output)
Computes the output given two inputs.
|
O |
createOutput(I1 input1,
I2 input2)
Create an output object given two inputs.
|
void |
initialize()
Initializes the object.
|
in1, in2, out, setInput1, setInput2, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateWorkergetArity, getIndependentInstance, run, runcandidates, filterArity, opops, setEnvironmentin, in1, in2, setInput, setInput1, setInput2calculate, calculate, createOutput, getIndependentInstance, run, runcomputecalculate, createOutput, runcomputerunsetOutputpublic O createOutput(I1 input1, I2 input2)
BinaryOutputFactorycreateOutput in interface BinaryOutputFactory<I1 extends DI1,I2 extends DI2,O>input1 - first input which determines how to create the outputinput2 - second input which determines how to create the outputpublic void initialize()
Initializableinitialize in interface Initializablepublic void compute(I1 input1, I2 input2, O output)
BinaryComputerOpcompute in interface BinaryComputerOp<I1 extends DI1,I2 extends DI2,O>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 input2Copyright © 2014–2022 ImageJ. All rights reserved.