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, idpublic 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()
IdentifiertoString in class Identifier<java.lang.Integer>