public class DefaultJoinInplaceAndComputer<A,B> extends AbstractUnaryComputerOp<A,B> implements JoinInplaceAndComputer<A,A,B>
UnaryInplaceOp with a UnaryComputerOp.SpecialOp.Flavor| Constructor and Description |
|---|
DefaultJoinInplaceAndComputer() |
| Modifier and Type | Method and Description |
|---|---|
UnaryInplaceOp<A,A> |
getFirst() |
DefaultJoinInplaceAndComputer<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.
|
UnaryComputerOp<A,B> |
getSecond() |
void |
setFirst(UnaryInplaceOp<A,A> first) |
void |
setSecond(UnaryComputerOp<A,B> second) |
in, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputecompute, run, runin, setInputruncandidates, filterArity, opops, setEnvironmentinitializesetOutputpublic UnaryInplaceOp<A,A> getFirst()
getFirst in interface Join2Ops<UnaryInplaceOp<A,A>,UnaryComputerOp<A,B>>Op to be joinedpublic void setFirst(UnaryInplaceOp<A,A> first)
setFirst in interface Join2Ops<UnaryInplaceOp<A,A>,UnaryComputerOp<A,B>>first - Op to be joinedpublic UnaryComputerOp<A,B> getSecond()
getSecond in interface Join2Ops<UnaryInplaceOp<A,A>,UnaryComputerOp<A,B>>Op to be joinedpublic void setSecond(UnaryComputerOp<A,B> second)
setSecond in interface Join2Ops<UnaryInplaceOp<A,A>,UnaryComputerOp<A,B>>second - Op to be joinedpublic DefaultJoinInplaceAndComputer<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.