Enum Usage

    • Enum Constant Detail

      • KEY_CONCEPT

        public static final Usage KEY_CONCEPT
      • COLOR

        public static final Usage COLOR
      • RARE

        public static final Usage RARE
      • ARCHAIC

        public static final Usage ARCHAIC
      • OFFENSIVE

        public static final Usage OFFENSIVE
      • CULTURAL

        public static final Usage CULTURAL
      • DEROGATORY

        public static final Usage DEROGATORY
      • SEXUAL

        public static final Usage SEXUAL
      • VIOLENCE

        public static final Usage VIOLENCE
      • VULGAR

        public static final Usage VULGAR
      • NETSPEAK

        public static final Usage NETSPEAK
      • PREFIX

        public static final Usage PREFIX
    • Method Detail

      • values

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

        public static Usage 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
      • getValue

        public Usage getValue()
        Description copied from interface: Tag
        Returns the tag value.
        Specified by:
        getValue in interface Tag<Usage>
        Returns:
        the tag value