Enum BasicType

    • Enum Constant Detail

      • String

        public static final BasicType String
        string
      • Boolean

        public static final BasicType Boolean
        boolean
      • Integer

        public static final BasicType Integer
        integer
      • Double

        public static final BasicType Double
        double
      • Byte

        public static final BasicType Byte
        bye
      • Short

        public static final BasicType Short
        short
      • Long

        public static final BasicType Long
        long
      • Float

        public static final BasicType Float
        float
      • Character

        public static final BasicType Character
        char
    • Method Detail

      • values

        public static BasicType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BasicType c : BasicType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BasicType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isBasicType

        public static boolean isBasicType​(String type)
        is basic type
        Parameters:
        type - type string
        Returns:
        boolean true if basic type
      • isPrimitiveType

        public static boolean isPrimitiveType​(String type)
        is primitive type
        Parameters:
        type - type string
        Returns:
        boolean true if basic type
      • allBasicType

        public static String allBasicType()
        return string include all basic types
        Returns:
        String all types
      • allType

        public static String allType()
        return string include all basic and primitive types
        Returns:
        String all types
      • defaultValue

        public static String defaultValue​(String type)
        return default value string
        Parameters:
        type - type string
        Returns:
        String all types