public static class BooleanTypeLogic.Or<T extends BooleanType<T>> extends AbstractBinaryHybridCFI<T,T> implements Ops.Logic.Or
BooleanType
s.SpecialOp.Flavor
NAME
Constructor and Description |
---|
Or() |
Modifier and Type | Method and Description |
---|---|
void |
compute(T in1,
T in2,
T out)
Computes the output given two inputs.
|
T |
createOutput(T in1,
T in2)
Create an output object given two inputs.
|
void |
mutate1(T arg,
T in)
Mutates the first argument in-place.
|
void |
mutate2(T in,
T arg)
Mutates the second argument in-place.
|
in1, in2, out, setInput1, setInput2, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
getIndependentInstance, run, run
mutate
calculate, calculate, createOutput
run, run
calculate, createOutput
compute
compute
setOutput
in, in1
in2, setInput, setInput1, setInput2
candidates, filterArity, op
initialize
public T createOutput(T in1, T in2)
BinaryOutputFactory
createOutput
in interface BinaryOutputFactory<T extends BooleanType<T>,T extends BooleanType<T>,T extends BooleanType<T>>
in1
- first input which determines how to create the outputin2
- second input which determines how to create the outputpublic void compute(T in1, T in2, T out)
BinaryComputerOp
compute
in interface BinaryComputerOp<T extends BooleanType<T>,T extends BooleanType<T>,T extends BooleanType<T>>
in1
- first argument to the computation, which
must be non-nullin2
- second argument to the computation, which
must be non-nullout
- object where the computation's result will be stored, which
must be non-null and a different object than
input1
and input2
public void mutate1(T arg, T in)
BinaryInplace1Op
mutate1
in interface BinaryInplace1Op<T extends BooleanType<T>,T extends BooleanType<T>,T extends BooleanType<T>>
arg
- First argument of the BinaryInplace1Op
, which
will be mutated.in
- Second argument of the BinaryInplace1Op
, which will
not be mutated.public void mutate2(T in, T arg)
BinaryInplaceOp
mutate2
in interface BinaryInplaceOp<T extends BooleanType<T>,T extends BooleanType<T>>
in
- First argument of the BinaryInplaceOp
, which will
not be mutated.arg
- Second argument of the BinaryInplaceOp
, which
will be mutated.Copyright © 2014–2022 ImageJ. All rights reserved.