public enum IsisNetworkType extends Enum<IsisNetworkType>
| Enum Constant and Description |
|---|
BROADCAST
Represents broadcast network.
|
P2P
Represents point-to-point network.
|
| Modifier and Type | Method and Description |
|---|---|
static IsisNetworkType |
get(int isisNetworkTypeValue)
Gets the enum instance from type value - reverse lookup purpose.
|
int |
value()
Gets the value representing network type.
|
static IsisNetworkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsisNetworkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsisNetworkType P2P
public static final IsisNetworkType BROADCAST
public static IsisNetworkType[] values()
for (IsisNetworkType c : IsisNetworkType.values()) System.out.println(c);
public static IsisNetworkType 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 static IsisNetworkType get(int isisNetworkTypeValue)
isisNetworkTypeValue - interface network type valuepublic int value()