public final class MplsLabel extends Identifier<java.lang.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(java.lang.String value)
Creates a MplsLabel object using the supplied decimal string.
|
int |
toInt() |
java.lang.String |
toString()
Returns a string representation of a DeviceKeyId.
|
equals, hashCode, id
public static final int MAX_MPLS
public static MplsLabel mplsLabel(int value)
public static MplsLabel mplsLabel(java.lang.String value)
value
- the MPLS identifier expressed as stringpublic int toInt()
public java.lang.String toString()
Identifier
toString
in class Identifier<java.lang.Integer>