public class Default<I extends BooleanType<I>,O extends Type<O>> extends AbstractUnaryComputerOp<I,O> implements Ops.Logic.Conditional
defaultVal
iff the input is
evaluated as false.SpecialOp.Flavor
NAME
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
void |
compute(I input,
O output)
Computes the output given some input.
|
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
compute, getIndependentInstance, run, run
run
candidates, filterArity, op
initialize
public void compute(I input, O output)
UnaryComputerOp
compute
in interface UnaryComputerOp<I extends BooleanType<I>,O extends Type<O>>
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.