Package jisa.devices.smu
Enum Agilent4155C.SMUVoltageRanges
- java.lang.Object
-
- java.lang.Enum<Agilent4155C.SMUVoltageRanges>
-
- jisa.devices.smu.Agilent4155C.SMUVoltageRanges
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Agilent4155C.SMUVoltageRanges>
,AgilentSPA.Range
- Enclosing class:
- Agilent4155C
protected static enum Agilent4155C.SMUVoltageRanges extends java.lang.Enum<Agilent4155C.SMUVoltageRanges> implements AgilentSPA.Range
-
-
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.SMUVoltageRanges
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Agilent4155C.SMUVoltageRanges[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMU_2_V
public static final Agilent4155C.SMUVoltageRanges SMU_2_V
-
SMU_20_V
public static final Agilent4155C.SMUVoltageRanges SMU_20_V
-
SMU_40_V
public static final Agilent4155C.SMUVoltageRanges SMU_40_V
-
SMU_100_V
public static final Agilent4155C.SMUVoltageRanges SMU_100_V
-
-
Method Detail
-
values
public static Agilent4155C.SMUVoltageRanges[] 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.SMUVoltageRanges c : Agilent4155C.SMUVoltageRanges.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.SMUVoltageRanges 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
-
-