- java.lang.Object
-
- org.scijava.ops.api.OpBuilder.Arity0_OT<O>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Computers.Arity0<O>computer()Match aComputersop, based on the choices made with this builder, for operating on pre-allocated output.Ocreate()Match then immediately run aProducerop and get its output.Stringhelp()Finds all Ops matching the current partial OpBuilder requestStringhelpVerbose()Finds all Ops matching the current partial OpBuilder requestProducer<O>producer()Match aProducerop, based on the choices made with this builder, for creatingO-typed instances.
-
-
-
Method Detail
-
producer
public Producer<O> producer()
Match aProducerop, based on the choices made with this builder, for creatingO-typed instances.- Returns:
- An instance of the matched op, e.g. for reuse.
- Throws:
OpMatchingException- if the Op request cannot be satisfied.- See Also:
For a reusable Op to process pre-allocated outputs without re-matching.,To match then immediately run a Producer Op, creating an instance of this builder's output type.
-
computer
public Computers.Arity0<O> computer()
Match aComputersop, based on the choices made with this builder, for operating on pre-allocated output.- Returns:
- An instance of the matched op, e.g. for reuse.
- Throws:
OpMatchingException- if the Op request cannot be satisfied.- See Also:
To match then immediately run a Producer Op, creating an instance of this builder's output type.,For a reusable Op to create objects of this builder's output type without re-matching.
-
create
public O create()
Match then immediately run aProducerop and get its output.- Returns:
- The
Ocreated by this op - Throws:
OpMatchingException- if the Op request cannot be satisfied.- See Also:
For a reusable Op to process pre-allocated outputs without re-matching.,For a reusable Op to create objects of this builder's output type without re-matching.
-
help
public String help()
Finds all Ops matching the current partial OpBuilder request- Returns:
- a
Stringwith a simple entry for each Op satisfying the partial request
-
-