public static enum RaspberryPiBoardInfoProvider.Revision extends Enum<RaspberryPiBoardInfoProvider.Revision>
Modifier and Type | Method and Description |
---|---|
static RaspberryPiBoardInfoProvider.Revision |
forId(int id) |
int |
getId() |
static RaspberryPiBoardInfoProvider.Revision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaspberryPiBoardInfoProvider.Revision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RaspberryPiBoardInfoProvider.Revision REV_1
public static final RaspberryPiBoardInfoProvider.Revision REV_1_1
public static final RaspberryPiBoardInfoProvider.Revision REV_2
public static final RaspberryPiBoardInfoProvider.Revision REV_1_2
public static RaspberryPiBoardInfoProvider.Revision[] values()
for (RaspberryPiBoardInfoProvider.Revision c : RaspberryPiBoardInfoProvider.Revision.values()) System.out.println(c);
public static RaspberryPiBoardInfoProvider.Revision 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.Revision forId(int id)
Copyright © 2016 mattjlewis. All rights reserved.