public class DefaultJoinNComputers<A> extends AbstractUnaryComputerOp<A,A> implements JoinNComputers<A>
UnaryComputerOps.SpecialOp.Flavor| Constructor and Description |
|---|
DefaultJoinNComputers() |
| Modifier and Type | Method and Description |
|---|---|
A |
getBuffer(A input) |
DefaultJoinNComputers<A> |
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.
|
List<? extends UnaryComputerOp<A,A>> |
getOps() |
UnaryOutputFactory<A,A> |
getOutputFactory() |
void |
setOps(List<? extends UnaryComputerOp<A,A>> ops)
Sets the
Ops which are joined in this op. |
void |
setOutputFactory(UnaryOutputFactory<A,A> outputFactory)
Sets the
UnaryOutputFactory which is used to create intermediate
results. |
in, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputecompute, run, runin, setInputruncandidates, filterArity, opops, setEnvironmentinitializesetOutputpublic List<? extends UnaryComputerOp<A,A>> getOps()
public void setOps(List<? extends UnaryComputerOp<A,A>> ops)
JoinNOpsOps which are joined in this op.setOps in interface JoinNOps<UnaryComputerOp<A,A>>ops - joined in this oppublic UnaryOutputFactory<A,A> getOutputFactory()
getOutputFactory in interface BufferFactory<A,A>UnaryOutputFactory used to create intermediate resultspublic void setOutputFactory(UnaryOutputFactory<A,A> outputFactory)
BufferFactoryUnaryOutputFactory which is used to create intermediate
results.setOutputFactory in interface BufferFactory<A,A>outputFactory - used to create intermediate resultspublic A getBuffer(A input)
getBuffer in interface BufferFactory<A,A>input - helping to create the bufferpublic DefaultJoinNComputers<A> 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<A>getIndependentInstance in interface UnaryComputerOp<A,A>getIndependentInstance in interface NullaryOp<A>getIndependentInstance in interface SpecialOpgetIndependentInstance in interface UnaryOp<A,A>getIndependentInstance in interface ThreadableCopyright © 2014–2022 ImageJ. All rights reserved.