public class DefaultJoinNInplaces<A> extends AbstractUnaryInplaceOp<A> implements JoinNInplaces<A,A>
UnaryInplaceOp
s.SpecialOp.Flavor
Constructor and Description |
---|
DefaultJoinNInplaces() |
Modifier and Type | Method and Description |
---|---|
DefaultJoinNInplaces<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 UnaryInplaceOp<A,A>> |
getOps() |
void |
mutate(A input)
Mutates the given input argument in-place.
|
void |
setOps(List<? extends UnaryInplaceOp<A,A>> ops)
Sets the
Op s which are joined in this op. |
out, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
in, run, run
candidates, filterArity, op
ops, setEnvironment
initialize
setInput
public void mutate(A input)
UnaryInplaceOp
mutate
in interface UnaryInplaceOp<A,A>
input
- of the UnaryInplaceOp
public void setOps(List<? extends UnaryInplaceOp<A,A>> ops)
JoinNOps
Op
s which are joined in this op.setOps
in interface JoinNOps<UnaryInplaceOp<A,A>>
ops
- joined in this oppublic List<? extends UnaryInplaceOp<A,A>> getOps()
public DefaultJoinNInplaces<A> getIndependentInstance()
Threadable
It 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 UnaryInplaceOnlyOp<A>
getIndependentInstance
in interface UnaryInplaceOp<A,A>
getIndependentInstance
in interface NullaryOp<A>
getIndependentInstance
in interface SpecialOp
getIndependentInstance
in interface UnaryOp<A,A>
getIndependentInstance
in interface Threadable
Copyright © 2014–2022 ImageJ. All rights reserved.