Enum BslValueType

    • Method Detail

      • values

        public static BslValueType[] 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 (BslValueType c : BslValueType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BslValueType 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
      • getByCode

        public static BslValueType getByCode​(int code)
        Find BslValueType by numeric code.
        Parameters:
        a - code numeric code of type to find type
        Returns:
        the BSL value type instance, never null
        Throws:
        IllegalArgumentException - if cannot find BSL type with given code
      • isPrimitive

        public boolean isPrimitive()
        Returns whether the BSL value type is primitive.
        Returns:
        whether the BSL value type is primitive