- All Implemented Interfaces:
Serializable,Comparable<TacticalSymbolTag>
A tag which may be related to a tactical symbol. These are usefull for
searching, grouping and sorting.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<TacticalSymbolTag>Gets the tag instance related to a string.static TacticalSymbolTagReturns the enum constant of this type with the specified name.static TacticalSymbolTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
THW
Federal Agency for Technical Relief, or Technisches Hilfswerk. -
FW
Feuerwehr, Fire Brigade -
BW
Bundeswehr, Military -
CUSTOMS
Zoll, Customs -
UNIT
Einheit, Unit -
BUILDING
Gebäude, Building -
PERSON
Person
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
from
Gets the tag instance related to a string. This is used to instantiate the tags from the text index stored in the classpath. It is also the method used to convert the german tags, into english code.- Parameters:
label- The label assigned in the text index.- Returns:
- The tag, or empty if not found.
- Since:
- 1.2
-