Class OpBuilder


  • public class OpBuilder
    extends Object
    Convenience class for looking up and/or executing ops using a builder pattern. Typical entry point is through OpEnvironment.op(String), which contains full usage information.

    Note that the intermediate builder steps use the following acronyms:

    • IV/OV: Input/Output Value. Indicates instances will be used for matching; ideal if you want to directly run the matched Op, e.g. via apply, compute, mutate or create methods.
    • IT/OT: Input/Output Types. Indicates Classes will be used for matching; matching will produce an Op instance that can then be (re)used. There are two "Type" options: raw types or Nils. If you are matching using a parameterized type use the Nil option to preserve the type parameter.
    • OU: Output Unknown. Indicates an output type/value has not been specified to the builder yet. The output, if any, will simply be an Object
    Author:
    Curtis Rueden, Gabriel Selzer, Mark Hiner