public class DefaultJoin2Computers<A,B,C> extends AbstractUnaryComputerOp<A,C> implements Join2Computers<A,B,C>
UnaryComputerOps.SpecialOp.Flavor| Constructor and Description |
|---|
DefaultJoin2Computers() |
| Modifier and Type | Method and Description |
|---|---|
B |
getBuffer(A input) |
UnaryComputerOp<A,B> |
getFirst() |
DefaultJoin2Computers<A,B,C> |
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.
|
UnaryOutputFactory<A,B> |
getOutputFactory() |
UnaryComputerOp<B,C> |
getSecond() |
void |
setFirst(UnaryComputerOp<A,B> first) |
void |
setOutputFactory(UnaryOutputFactory<A,B> bufferFactory)
Sets the
UnaryOutputFactory which is used to create intermediate
results. |
void |
setSecond(UnaryComputerOp<B,C> 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>,UnaryComputerOp<B,C>>Op to be joinedpublic void setFirst(UnaryComputerOp<A,B> first)
setFirst in interface Join2Ops<UnaryComputerOp<A,B>,UnaryComputerOp<B,C>>first - Op to be joinedpublic UnaryComputerOp<B,C> getSecond()
getSecond in interface Join2Ops<UnaryComputerOp<A,B>,UnaryComputerOp<B,C>>Op to be joinedpublic void setSecond(UnaryComputerOp<B,C> second)
setSecond in interface Join2Ops<UnaryComputerOp<A,B>,UnaryComputerOp<B,C>>second - Op to be joinedpublic UnaryOutputFactory<A,B> getOutputFactory()
getOutputFactory in interface BufferFactory<A,B>UnaryOutputFactory used to create intermediate resultspublic void setOutputFactory(UnaryOutputFactory<A,B> bufferFactory)
BufferFactoryUnaryOutputFactory which is used to create intermediate
results.setOutputFactory in interface BufferFactory<A,B>bufferFactory - used to create intermediate resultspublic B getBuffer(A input)
getBuffer in interface BufferFactory<A,B>input - helping to create the bufferpublic DefaultJoin2Computers<A,B,C> 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<C>getIndependentInstance in interface UnaryComputerOp<A,C>getIndependentInstance in interface NullaryOp<C>getIndependentInstance in interface SpecialOpgetIndependentInstance in interface UnaryOp<A,C>getIndependentInstance in interface ThreadableCopyright © 2014–2022 ImageJ. All rights reserved.