sidnet.stack.std.mac.ieee802_15_4
Enum PHYenum
java.lang.Object
java.lang.Enum<PHYenum>
sidnet.stack.std.mac.ieee802_15_4.PHYenum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PHYenum>
public enum PHYenum
- extends java.lang.Enum<PHYenum>
Method Summary |
static PHYenum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PHYenum[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
p_BUSY
public static final PHYenum p_BUSY
p_BUSY_RX
public static final PHYenum p_BUSY_RX
p_BUSY_TX
public static final PHYenum p_BUSY_TX
p_FORCE_TRX_OFF
public static final PHYenum p_FORCE_TRX_OFF
p_IDLE
public static final PHYenum p_IDLE
p_INVALID_PARAMETER
public static final PHYenum p_INVALID_PARAMETER
p_RX_ON
public static final PHYenum p_RX_ON
p_SUCCESS
public static final PHYenum p_SUCCESS
p_TRX_OFF
public static final PHYenum p_TRX_OFF
p_TX_ON
public static final PHYenum p_TX_ON
p_UNSUPPORT_ATTRIBUTE
public static final PHYenum p_UNSUPPORT_ATTRIBUTE
p_UNDEFINED
public static final PHYenum p_UNDEFINED
values
public static final PHYenum[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(PHYenum c : PHYenum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static PHYenum valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name