public enum OspfInterfaceType extends Enum<OspfInterfaceType>
| Enum Constant and Description |
|---|
BROADCAST |
POINT_TO_POINT |
VIRTUAL |
| Modifier and Type | Method and Description |
|---|---|
int |
value()
Gets value represents interface type.
|
static OspfInterfaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OspfInterfaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OspfInterfaceType POINT_TO_POINT
public static final OspfInterfaceType BROADCAST
public static final OspfInterfaceType VIRTUAL
public static OspfInterfaceType[] values()
for (OspfInterfaceType c : OspfInterfaceType.values()) System.out.println(c);
public static OspfInterfaceType 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 int value()
Copyright © 2016. All rights reserved.