public static class BooleanTypeLogic.Xor<T extends BooleanType<T>> extends AbstractBinaryHybridCFI<T,T> implements Ops.Logic.Xor
BooleanTypes.SpecialOp.FlavorNAME| Constructor and Description |
|---|
Xor() |
| 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, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentgetIndependentInstance, run, runmutatecalculate, calculate, createOutputrun, runcalculate, createOutputcomputecomputesetOutputin, in1in2, setInput, setInput1, setInput2candidates, filterArity, opinitializepublic T createOutput(T in1, T in2)
BinaryOutputFactorycreateOutput 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)
BinaryComputerOpcompute 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 input2public void mutate1(T arg, T in)
BinaryInplace1Opmutate1 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)
BinaryInplaceOpmutate2 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.