public enum ModemMode extends Enum<ModemMode> implements org.refcodes.mixin.ModeAccessor<Integer>
Enum Constant and Description |
---|
SOFT_MODEM_1 |
SOFT_MODEM_2 |
SOFT_MODEM_3 |
SOFT_MODEM_4 |
SOFT_MODEM_5 |
Modifier and Type | Method and Description |
---|---|
int |
getBaudRate()
The baud rate of this this mode.
|
int |
getHigherFrequency()
The higher frequency for this mode.
|
int |
getLowerFrequency()
The lower frequency for this mode.
|
Integer |
getMode() |
static ModemMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModemMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModemMode SOFT_MODEM_1
public static final ModemMode SOFT_MODEM_2
public static final ModemMode SOFT_MODEM_3
public static final ModemMode SOFT_MODEM_4
public static final ModemMode SOFT_MODEM_5
public static ModemMode[] values()
for (ModemMode c : ModemMode.values()) System.out.println(c);
public static ModemMode 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 Integer getMode()
getMode
in interface org.refcodes.mixin.ModeAccessor<Integer>
public int getBaudRate()
public int getLowerFrequency()
public int getHigherFrequency()
Copyright © 2018. All rights reserved.