public enum SpiMode extends Enum<SpiMode>
| Modifier and Type | Method and Description |
|---|---|
int |
getNumericValue() |
static SpiMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpiMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpiMode Mode0
public static final SpiMode Mode1
public static final SpiMode Mode2
public static final SpiMode Mode3
public static SpiMode[] values()
for (SpiMode c : SpiMode.values()) System.out.println(c);
public static SpiMode 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 getNumericValue()
Copyright © 2015 silverspoon.io. All rights reserved.