Enum ThreadUtil.RefreshType
- java.lang.Object
-
- java.lang.Enum<ThreadUtil.RefreshType>
-
- berlin.yuna.tinkerforgesensor.util.ThreadUtil.RefreshType
-
- All Implemented Interfaces:
Serializable
,Comparable<ThreadUtil.RefreshType>
- Enclosing class:
- ThreadUtil
public static enum ThreadUtil.RefreshType extends Enum<ThreadUtil.RefreshType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM_INTERVAL
EACH_SECOND
POST_PROCESS
-
Field Summary
Fields Modifier and Type Field Description long
ms
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThreadUtil.RefreshType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ThreadUtil.RefreshType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EACH_SECOND
public static final ThreadUtil.RefreshType EACH_SECOND
-
CUSTOM_INTERVAL
public static final ThreadUtil.RefreshType CUSTOM_INTERVAL
-
POST_PROCESS
public static final ThreadUtil.RefreshType POST_PROCESS
-
-
Method Detail
-
values
public static ThreadUtil.RefreshType[] 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 (ThreadUtil.RefreshType c : ThreadUtil.RefreshType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThreadUtil.RefreshType 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
-
-