public static enum W1ThermSensor.Type extends Enum<W1ThermSensor.Type>
Enum Constant and Description |
---|
DS1822 |
DS1825 |
DS18B20 |
DS18S20 |
DS28EA00 |
MAX31850K |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static boolean |
isValidId(String idString) |
static W1ThermSensor.Type |
valueOf(int id) |
static W1ThermSensor.Type |
valueOf(Path path) |
static W1ThermSensor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static W1ThermSensor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final W1ThermSensor.Type DS18S20
public static final W1ThermSensor.Type DS1822
public static final W1ThermSensor.Type DS18B20
public static final W1ThermSensor.Type DS1825
public static final W1ThermSensor.Type DS28EA00
public static final W1ThermSensor.Type MAX31850K
public static W1ThermSensor.Type[] values()
for (W1ThermSensor.Type c : W1ThermSensor.Type.values()) System.out.println(c);
public static W1ThermSensor.Type 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 static boolean isValidId(String idString)
public int getId()
public static W1ThermSensor.Type valueOf(int id)
public static W1ThermSensor.Type valueOf(Path path)
Copyright © 2016–2017 mattjlewis. All rights reserved.