public final class MplsLabel extends Identifier<Integer>
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_MPLS |
identifier| Modifier | Constructor and Description |
|---|---|
protected |
MplsLabel(int value) |
| Modifier and Type | Method and Description |
|---|---|
static MplsLabel |
mplsLabel(int value) |
static MplsLabel |
mplsLabel(String value)
Creates a MplsLabel object using the supplied decimal string.
|
int |
toInt() |
String |
toString()
Returns a string representation of a DeviceKeyId.
|
equals, hashCode, idpublic static final int MAX_MPLS
public static MplsLabel mplsLabel(int value)
public static MplsLabel mplsLabel(String value)
value - the MPLS identifier expressed as stringpublic int toInt()
public String toString()
IdentifiertoString in class Identifier<Integer>