public enum InputPortEnum extends Enum<InputPortEnum>
| Modifier and Type | Method and Description |
|---|---|
static InputPortEnum |
fromValue(int codeEnum)
Convert the port value to the enum.
|
int |
getPort() |
static InputPortEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputPortEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputPortEnum I1
public static final InputPortEnum I2
public static final InputPortEnum I3
public static final InputPortEnum I4
public static final InputPortEnum I5
public static final InputPortEnum I6
public static final InputPortEnum I7
public static final InputPortEnum I8
public static InputPortEnum[] values()
for (InputPortEnum c : InputPortEnum.values()) System.out.println(c);
public static InputPortEnum 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 final int getPort()
public static InputPortEnum fromValue(int codeEnum)
codeEnum - valueCopyright © 2018. All rights reserved.