Class MplsLabel


  • public final class MplsLabel
    extends Identifier<java.lang.Integer>
    Representation of a MPLS label.
    • Constructor Detail

      • MplsLabel

        protected MplsLabel​(int value)
    • Method Detail

      • mplsLabel

        public static MplsLabel mplsLabel​(int value)
      • mplsLabel

        public static MplsLabel mplsLabel​(java.lang.String value)
        Creates a MplsLabel object using the supplied decimal string.
        Parameters:
        value - the MPLS identifier expressed as string
        Returns:
        Mplslabel object created from the string
      • toInt

        public int toInt()
      • toString

        public java.lang.String toString()
        Description copied from class: Identifier
        Returns a string representation of a DeviceKeyId.
        Overrides:
        toString in class Identifier<java.lang.Integer>
        Returns:
        string