public static enum Link.Type extends Enum<Link.Type>
Enum Constant and Description |
---|
DIRECT_LINK
Represents direct links.
|
MULTIHOP_LINK
Represents indirect/multi-hop links.
|
NODE
Represents node/edge links.
|
TUNNEL
Represents tunnel links.
|
Modifier and Type | Method and Description |
---|---|
static Link.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Link.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Link.Type DIRECT_LINK
public static final Link.Type MULTIHOP_LINK
public static final Link.Type TUNNEL
public static final Link.Type NODE
public static Link.Type[] values()
for (Link.Type c : Link.Type.values()) System.out.println(c);
public static Link.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 nullCopyright © 2015. All Rights Reserved.