public enum Usage extends Enum<Usage> implements Tag<Usage>
Enum Constant and Description |
---|
ARCHAIC |
COLOR |
CULTURAL |
DEROGATORY |
KEY_CONCEPT |
NETSPEAK |
OFFENSIVE |
PREFIX |
RARE |
SEXUAL |
VIOLENCE |
VULGAR |
Modifier and Type | Method and Description |
---|---|
Usage |
getValue()
Returns the tag value.
|
static Usage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Usage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Usage KEY_CONCEPT
public static final Usage COLOR
public static final Usage RARE
public static final Usage ARCHAIC
public static final Usage OFFENSIVE
public static final Usage CULTURAL
public static final Usage DEROGATORY
public static final Usage SEXUAL
public static final Usage VIOLENCE
public static final Usage VULGAR
public static final Usage NETSPEAK
public static final Usage PREFIX
public static Usage[] values()
for (Usage c : Usage.values()) System.out.println(c);
public static Usage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2021. All rights reserved.