Package com.aerisweather.aeris.util
Enum WordsCapitalizer.Behavior
- java.lang.Object
-
- java.lang.Enum<WordsCapitalizer.Behavior>
-
- com.aerisweather.aeris.util.WordsCapitalizer.Behavior
-
- All Implemented Interfaces:
Serializable
,Comparable<WordsCapitalizer.Behavior>
- Enclosing class:
- WordsCapitalizer
public static enum WordsCapitalizer.Behavior extends Enum<WordsCapitalizer.Behavior>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAPITALIZE_AFTER_MARKER
CAPITALIZE_BEFORE_AND_AFTER_MARKER
CAPITALIZE_BEFORE_MARKER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static WordsCapitalizer.Behavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static WordsCapitalizer.Behavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAPITALIZE_AFTER_MARKER
public static final WordsCapitalizer.Behavior CAPITALIZE_AFTER_MARKER
-
CAPITALIZE_BEFORE_MARKER
public static final WordsCapitalizer.Behavior CAPITALIZE_BEFORE_MARKER
-
CAPITALIZE_BEFORE_AND_AFTER_MARKER
public static final WordsCapitalizer.Behavior CAPITALIZE_BEFORE_AND_AFTER_MARKER
-
-
Method Detail
-
values
public static WordsCapitalizer.Behavior[] 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 (WordsCapitalizer.Behavior c : WordsCapitalizer.Behavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WordsCapitalizer.Behavior 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 nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-