public static class IIToRAIOutputII.Xor<T extends NumericType<T>> extends AbstractBinaryHybridCFI1<IterableInterval<T>,RandomAccessibleInterval<T>,IterableInterval<T>> implements Ops.Logic.Xor, Contingent
SpecialOp.FlavorNAME| Constructor and Description | 
|---|
| Xor() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | compute(IterableInterval<T> input1,
       RandomAccessibleInterval<T> input2,
       IterableInterval<T> output)Computes the output given two inputs. | 
| boolean | conforms()True if the contingency holds; i.e., the current circumstances conform to
 the contingency's requirements. | 
| IterableInterval<T> | createOutput(IterableInterval<T> input1,
            RandomAccessibleInterval<T> input2)Create an output object given two inputs. | 
| void | initialize()Initializes the object. | 
| void | mutate1(IterableInterval<T> arg,
       RandomAccessibleInterval<T> in)Mutates the first argument in-place. | 
in1, in2, out, setInput1, setInput2, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentgetIndependentInstance, mutate, run, runcalculate, calculate, createOutputcomputein, in1in2, setInput, setInput1, setInput2run, runcalculate, createOutputcomputesetOutputcandidates, filterArity, oppublic void initialize()
Initializableinitialize in interface Initializablepublic boolean conforms()
Contingentconforms in interface Contingentpublic IterableInterval<T> createOutput(IterableInterval<T> input1, RandomAccessibleInterval<T> input2)
BinaryOutputFactorycreateOutput in interface BinaryOutputFactory<IterableInterval<T extends NumericType<T>>,RandomAccessibleInterval<T extends NumericType<T>>,IterableInterval<T extends NumericType<T>>>input1 - first input which determines how to create the outputinput2 - second input which determines how to create the outputpublic void compute(IterableInterval<T> input1, RandomAccessibleInterval<T> input2, IterableInterval<T> output)
BinaryComputerOpcompute in interface BinaryComputerOp<IterableInterval<T extends NumericType<T>>,RandomAccessibleInterval<T extends NumericType<T>>,IterableInterval<T extends NumericType<T>>>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 input2public void mutate1(IterableInterval<T> arg, RandomAccessibleInterval<T> in)
BinaryInplace1Opmutate1 in interface BinaryInplace1Op<IterableInterval<T extends NumericType<T>>,RandomAccessibleInterval<T extends NumericType<T>>,IterableInterval<T extends NumericType<T>>>arg - First argument of the BinaryInplace1Op, which
          will be mutated.in - Second argument of the BinaryInplace1Op, which will
          not be mutated.Copyright © 2014–2022 ImageJ. All rights reserved.