public interface LoopComputer<I> extends UnaryComputerOp<I,I>, LoopOp<UnaryComputerOp<I,I>>
UnaryComputerOp
. A LoopComputer
applies a UnaryComputerOp
n-times to an input.SpecialOp.Flavor
Modifier and Type | Method and Description |
---|---|
default void |
compute(I input,
I output)
Computes the output given some input.
|
UnaryOutputFactory<I,I> |
getOutputFactory() |
void |
setOutputFactory(UnaryOutputFactory<I,I> outputFactory) |
compute, getIndependentInstance, run, run
in, setInput
run
candidates, filterArity, op
ops, setEnvironment
initialize
setOutput
getLoopCount, getOp, setLoopCount, setOp
UnaryOutputFactory<I,I> getOutputFactory()
void setOutputFactory(UnaryOutputFactory<I,I> outputFactory)
default void compute(I input, I output)
UnaryComputerOp
compute
in interface UnaryComputerOp<I,I>
input
- 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 input
Copyright © 2014–2022 ImageJ. All rights reserved.