public enum BaudRate extends Enum<BaudRate>
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static BaudRate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaudRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaudRate r38400
public static final BaudRate r57600
public static final BaudRate r19200
public static final BaudRate r115200
public static BaudRate[] values()
for (BaudRate c : BaudRate.values()) System.out.println(c);
public static BaudRate 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 © 2024. All rights reserved.