js.dev.cam.sbig
Enum CFW_COM_PORT
java.lang.Object
java.lang.Enum<CFW_COM_PORT>
js.dev.cam.sbig.CFW_COM_PORT
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<CFW_COM_PORT>
public enum CFW_COM_PORT
- extends java.lang.Enum<CFW_COM_PORT>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CFWPORT_COM0
public static final CFW_COM_PORT CFWPORT_COM0
CFWPORT_COM1
public static final CFW_COM_PORT CFWPORT_COM1
CFWPORT_COM2
public static final CFW_COM_PORT CFWPORT_COM2
CFWPORT_COM3
public static final CFW_COM_PORT CFWPORT_COM3
values
public static CFW_COM_PORT[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CFW_COM_PORT c : CFW_COM_PORT.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CFW_COM_PORT 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
java.lang.NullPointerException
- if the argument is null
getCfwComPort
public final int getCfwComPort()
- Returns:
- the cfwComPort.
getCfwComPort
public static final CFW_COM_PORT getCfwComPort(int value)
- Parameters:
value
- the CFW port value.
- Returns:
- the CFW_COM_PORT.