public class DefaultJoinComputerAndInplace<A,B> extends AbstractUnaryComputerOp<A,B> implements JoinComputerAndInplace<A,B,B>
UnaryComputerOp with an UnaryInplaceOp.SpecialOp.Flavor| Constructor and Description |
|---|
DefaultJoinComputerAndInplace() |
| Modifier and Type | Method and Description |
|---|---|
UnaryComputerOp<A,B> |
getFirst() |
DefaultJoinComputerAndInplace<A,B> |
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.
|
UnaryInplaceOp<B,B> |
getSecond() |
void |
setFirst(UnaryComputerOp<A,B> first) |
void |
setSecond(UnaryInplaceOp<B,B> second) |
in, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputecompute, run, runin, setInputruncandidates, filterArity, opops, setEnvironmentinitializesetOutputpublic UnaryComputerOp<A,B> getFirst()
getFirst in interface Join2Ops<UnaryComputerOp<A,B>,UnaryInplaceOp<B,B>>Op to be joinedpublic void setFirst(UnaryComputerOp<A,B> first)
setFirst in interface Join2Ops<UnaryComputerOp<A,B>,UnaryInplaceOp<B,B>>first - Op to be joinedpublic UnaryInplaceOp<B,B> getSecond()
getSecond in interface Join2Ops<UnaryComputerOp<A,B>,UnaryInplaceOp<B,B>>Op to be joinedpublic void setSecond(UnaryInplaceOp<B,B> second)
setSecond in interface Join2Ops<UnaryComputerOp<A,B>,UnaryInplaceOp<B,B>>second - Op to be joinedpublic DefaultJoinComputerAndInplace<A,B> 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<B>getIndependentInstance in interface UnaryComputerOp<A,B>getIndependentInstance in interface NullaryOp<B>getIndependentInstance in interface SpecialOpgetIndependentInstance in interface UnaryOp<A,B>getIndependentInstance in interface ThreadableCopyright © 2014–2022 ImageJ. All rights reserved.