Package io.dialob.program.expr.arith
Enum Reducers.Str
- java.lang.Object
-
- java.lang.Enum<Reducers.Str>
-
- io.dialob.program.expr.arith.Reducers.Str
-
- All Implemented Interfaces:
Reducer<String>,Serializable,Comparable<Reducers.Str>
- Enclosing class:
- Reducers
public static enum Reducers.Str extends Enum<Reducers.Str> implements Reducer<String>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueTypegetValueType()static Reducers.StrvalueOf(String name)Returns the enum constant of this type with the specified name.static Reducers.Str[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAT
public static final Reducers.Str CAT
-
-
Method Detail
-
values
public static Reducers.Str[] 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 (Reducers.Str c : Reducers.Str.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Reducers.Str 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
-
getValueType
@Nonnull public ValueType getValueType()
- Specified by:
getValueTypein interfaceReducer<String>
-
-