Class StringType

  • All Implemented Interfaces:
    Type

    public class StringType
    extends ScalarType
    The type of a string expression.
    Since:
    Feb 17, 2005
    Author:
    jhyde
    • Constructor Detail

      • StringType

        public StringType()
        Creates a string type.
    • Method Detail

      • isInstance

        public boolean isInstance​(Object value)
        Description copied from interface: Type
        Returns whether a value is valid for a type.
        Specified by:
        isInstance in interface Type
        Overrides:
        isInstance in class ScalarType
        Parameters:
        value - Value
        Returns:
        Whether value is valid for this type