Package jisa.devices.smu
Enum Agilent4155C.HPSMUVoltageRanges
- java.lang.Object
-
- java.lang.Enum<Agilent4155C.HPSMUVoltageRanges>
-
- jisa.devices.smu.Agilent4155C.HPSMUVoltageRanges
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Agilent4155C.HPSMUVoltageRanges>
,AgilentSPA.Range
- Enclosing class:
- Agilent4155C
protected static enum Agilent4155C.HPSMUVoltageRanges extends java.lang.Enum<Agilent4155C.HPSMUVoltageRanges> implements AgilentSPA.Range
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HPSMU_100_V
HPSMU_20_V
HPSMU_200_V
HPSMU_40_V
-
Field Summary
-
Fields inherited from interface jisa.devices.smu.AgilentSPA.Range
AUTO_RANGING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getCompliance()
double
getRange()
int
toInt()
static Agilent4155C.HPSMUVoltageRanges
valueOf​(java.lang.String name)
Returns the enum constant of this type with the specified name.static Agilent4155C.HPSMUVoltageRanges[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HPSMU_20_V
public static final Agilent4155C.HPSMUVoltageRanges HPSMU_20_V
-
HPSMU_40_V
public static final Agilent4155C.HPSMUVoltageRanges HPSMU_40_V
-
HPSMU_100_V
public static final Agilent4155C.HPSMUVoltageRanges HPSMU_100_V
-
HPSMU_200_V
public static final Agilent4155C.HPSMUVoltageRanges HPSMU_200_V
-
-
Method Detail
-
values
public static Agilent4155C.HPSMUVoltageRanges[] 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 (Agilent4155C.HPSMUVoltageRanges c : Agilent4155C.HPSMUVoltageRanges.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Agilent4155C.HPSMUVoltageRanges 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
-
toInt
public int toInt()
- Specified by:
toInt
in interfaceAgilentSPA.Range
-
getRange
public double getRange()
- Specified by:
getRange
in interfaceAgilentSPA.Range
-
getCompliance
public double getCompliance()
- Specified by:
getCompliance
in interfaceAgilentSPA.Range
-
-