Class DefaultOpRequest

  • All Implemented Interfaces:
    OpRequest

    public class DefaultOpRequest
    extends Object
    implements OpRequest
    Data structure which identifies an Op by name and/or type(s) and/or argument type(s), along with a list of input arguments.

    With the help of the OpMatcher, an OpRequest holds all information needed to create an appropriate Op.

    Author:
    Christian Dietz (University of Konstanz), Curtis Rueden
    • Constructor Detail

      • DefaultOpRequest

        public DefaultOpRequest​(String name,
                                Type type,
                                Type outType,
                                Type[] args)
        Creates a new op request.
        Parameters:
        name - name of the op, or null for any name.
        type - type which the ops must match.
        outType - the op's required output type.
        args - arguments to the op.