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