Class GeneralToken


  • public class GeneralToken
    extends Token
    This is a token that reports its type as "general." Otherwise, this class is identical to its parent class. The constant named general (defined in the Constants class) is an instance of this token.
    Since:
    Ptolemy II 2.0
    Version:
    $Id$
    Author:
    Steve Neuendorffer
    See Also:
    Constants
    Pt.AcceptedRating:
    Red (wbwu)
    Pt.ProposedRating:
    Yellow (yuhong)
    • Constructor Detail

      • GeneralToken

        public GeneralToken()
    • Method Detail

      • getType

        public Type getType()
        Return the type of this token.
        Overrides:
        getType in class Token
        Returns:
        BaseType.GENERAL.