public enum TimeConstant extends Enum<TimeConstant> implements INumberEnum<Short>
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Short |
getValue() |
static TimeConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeConstant MAXIMUM
public static final TimeConstant MINIMUM
public static final TimeConstant WILDCARD
public static TimeConstant[] values()
for (TimeConstant c : TimeConstant.values()) System.out.println(c);
public static TimeConstant 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 nullpublic Short getValue()
getValue
in interface INumberEnum<Short>
public long getLongValue()
getLongValue
in interface INumberEnum<Short>
long
Copyright © 2014–2018. All rights reserved.