Package adams.flow.source
Enum CurrentTime.TimeType
- java.lang.Object
-
- java.lang.Enum<CurrentTime.TimeType>
-
- adams.flow.source.CurrentTime.TimeType
-
- All Implemented Interfaces:
Serializable
,Comparable<CurrentTime.TimeType>
- Enclosing class:
- CurrentTime
public static enum CurrentTime.TimeType extends Enum<CurrentTime.TimeType>
what time to output.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MILLI_SECONDS
MILLI_SECONDS_LONG
NANO_SECONDS
NANO_SECONDS_LONG
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CurrentTime.TimeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CurrentTime.TimeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MILLI_SECONDS
public static final CurrentTime.TimeType MILLI_SECONDS
-
NANO_SECONDS
public static final CurrentTime.TimeType NANO_SECONDS
-
MILLI_SECONDS_LONG
public static final CurrentTime.TimeType MILLI_SECONDS_LONG
-
NANO_SECONDS_LONG
public static final CurrentTime.TimeType NANO_SECONDS_LONG
-
-
Method Detail
-
values
public static CurrentTime.TimeType[] 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 (CurrentTime.TimeType c : CurrentTime.TimeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CurrentTime.TimeType 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
-
-