- java.lang.Object
-
- org.scijava.ops.api.OpBuilder.Arity2_IV_OT<I1,I2,O>
-
-
Constructor Summary
Constructors Constructor Description Arity2_IV_OT(I1 in1, I2 in2, Nil<O> outType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Oapply()Match then immediately run aFunctionsop and get its output.Computers.Arity2<I1,I2,O>computer()Match aComputersop, based on the choices made with this builder, for operating on pre-allocated output.BiFunction<I1,I2,O>function()Match aFunctionsop based on the choices made with this builder.Stringhelp()Finds all Ops matching the current partial OpBuilder requestStringhelpVerbose()Finds all Ops matching the current partial OpBuilder request
-
-
-
Method Detail
-
function
public BiFunction<I1,I2,O> function()
Match aFunctionsop based on the choices made with this builder.- 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 Function Op using the input values provided to this builder.,For a reusable Op to process pre-allocated outputs without re-matching.
-
computer
public Computers.Arity2<I1,I2,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 Function Op using the input values provided to this builder.,For a reusable Op that generates output instances based on its inputs.
-
apply
public O apply()
Match then immediately run aFunctionsop and get its output.- Returns:
- The output of this function
- 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 that generates output instances based on its inputs.
-
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
-
-