Class ConstructAssociativeType

  • All Implemented Interfaces:
    InequalityTerm

    public class ConstructAssociativeType
    extends MonotonicFunction
    A function that, given a list of ports, returns a StructuredType of which the fields names and field types correspond with the given ports. The arguments to this function (the array returned by getVariables()) represent the types of the ports, in the same order as the ports are defined. The concrete subclass of StructuredType that is to be instantiated by this function depends on the type parameter passed to the constructor.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Edward A. Lee, Marten Lohstroh
    Pt.AcceptedRating:
    Red
    Pt.ProposedRating:
    Red (marten)
    • Constructor Detail

      • ConstructAssociativeType

        public ConstructAssociativeType​(java.util.Collection<TypedIOPort> ports,
                                        java.lang.Class<? extends AssociativeType> type)
        Construct a new monotonic function.
        Parameters:
        ports - A list of ports used to construct the AssociativeType
        type - A specific subclass to instantiate