Package jisa.devices.temperature
Enum USBTC08.Frequency
- java.lang.Object
-
- java.lang.Enum<USBTC08.Frequency>
-
- jisa.devices.temperature.USBTC08.Frequency
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<USBTC08.Frequency>
- Enclosing class:
- USBTC08
public static enum USBTC08.Frequency extends java.lang.Enum<USBTC08.Frequency>
Enumeration of line-frequency rejection modes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIFTY_HERTZ
SIXTY_HERTZ
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static USBTC08.Frequency
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static USBTC08.Frequency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIFTY_HERTZ
public static final USBTC08.Frequency FIFTY_HERTZ
-
SIXTY_HERTZ
public static final USBTC08.Frequency SIXTY_HERTZ
-
-
Method Detail
-
values
public static USBTC08.Frequency[] 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 (USBTC08.Frequency c : USBTC08.Frequency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static USBTC08.Frequency valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-