public static enum FibUpdate.Type extends Enum<FibUpdate.Type>
| Enum Constant and Description |
|---|
DELETE
The update signals that a prefix should be removed from the FIB.
|
UPDATE
The update contains a new or updated FIB entry for a prefix.
|
| Modifier and Type | Method and Description |
|---|---|
static FibUpdate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FibUpdate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FibUpdate.Type UPDATE
public static final FibUpdate.Type DELETE
public static FibUpdate.Type[] values()
for (FibUpdate.Type c : FibUpdate.Type.values()) System.out.println(c);
public static FibUpdate.Type 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 null