public static class NullaryNumericTypeMath.Zero<T extends NumericType<T>> extends AbstractNullaryComputerOp<T> implements Ops.Math.Zero
SpecialOp.FlavorNAME| Constructor and Description |
|---|
Zero() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(T output)
Computes the output value.
|
NullaryNumericTypeMath.Zero<T> |
getIndependentInstance()
Gets a reference to an instance of this object which can be used
simultaneously from a second thread while this instance is being used from
"its" thread.
|
out, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentrun, runcandidates, filterArity, opinitializepublic void compute(T output)
NullaryComputerOpcompute in interface NullaryComputerOp<T extends NumericType<T>>output - Object where the computation's result will be stored, which
must be non-nullpublic NullaryNumericTypeMath.Zero<T> getIndependentInstance()
ThreadableIt is expected that subclasses which override this method will narrow the return type appropriately. We do not enforce this at compile time via recursive generics due to their complexity: they introduce a host of typing difficulties.
getIndependentInstance in interface NullaryComputerOp<T extends NumericType<T>>getIndependentInstance in interface NullaryOp<T extends NumericType<T>>getIndependentInstance in interface SpecialOpgetIndependentInstance in interface ThreadableCopyright © 2014–2022 ImageJ. All rights reserved.