public static enum RaspberryPiBoardInfoProvider.Model extends Enum<RaspberryPiBoardInfoProvider.Model>
Enum Constant and Description |
---|
A |
A_PLUS |
ALPHA |
B |
B_PLUS |
COMPUTE_MODEL |
PI_2_B |
PI_3_B |
UNKNWON |
ZERO |
Modifier and Type | Method and Description |
---|---|
static RaspberryPiBoardInfoProvider.Model |
forId(int id) |
int |
getId() |
static RaspberryPiBoardInfoProvider.Model |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaspberryPiBoardInfoProvider.Model[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RaspberryPiBoardInfoProvider.Model A
public static final RaspberryPiBoardInfoProvider.Model B
public static final RaspberryPiBoardInfoProvider.Model A_PLUS
public static final RaspberryPiBoardInfoProvider.Model B_PLUS
public static final RaspberryPiBoardInfoProvider.Model PI_2_B
public static final RaspberryPiBoardInfoProvider.Model ALPHA
public static final RaspberryPiBoardInfoProvider.Model COMPUTE_MODEL
public static final RaspberryPiBoardInfoProvider.Model UNKNWON
public static final RaspberryPiBoardInfoProvider.Model PI_3_B
public static final RaspberryPiBoardInfoProvider.Model ZERO
public static RaspberryPiBoardInfoProvider.Model[] values()
for (RaspberryPiBoardInfoProvider.Model c : RaspberryPiBoardInfoProvider.Model.values()) System.out.println(c);
public static RaspberryPiBoardInfoProvider.Model 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 int getId()
public static RaspberryPiBoardInfoProvider.Model forId(int id)
Copyright © 2016 mattjlewis. All rights reserved.