public enum Baud extends Enum<Baud>
Enum Constant and Description |
---|
_110 |
_115200 |
_1200 |
_134 |
_150 |
_1800 |
_19200 |
_200 |
_230400 |
_2400 |
_300 |
_38400 |
_4800 |
_50 |
_57600 |
_600 |
_75 |
_9600 |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Baud |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Baud[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Baud _50
public static final Baud _75
public static final Baud _110
public static final Baud _134
public static final Baud _150
public static final Baud _200
public static final Baud _300
public static final Baud _600
public static final Baud _1200
public static final Baud _1800
public static final Baud _2400
public static final Baud _4800
public static final Baud _9600
public static final Baud _19200
public static final Baud _38400
public static final Baud _57600
public static final Baud _115200
public static final Baud _230400
public static Baud[] values()
for (Baud c : Baud.values()) System.out.println(c);
public static Baud 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 getValue()
Copyright © 2012–2015 Pi4J. All rights reserved.