Class NshServiceIndex


  • public final class NshServiceIndex
    extends java.lang.Object
    • Method Detail

      • of

        public static NshServiceIndex of​(short serviceIndex)
        Returns the NshServiceIndex by setting its value.
        Parameters:
        serviceIndex - nsh service index
        Returns:
        NshServiceIndex
      • serviceIndex

        public short serviceIndex()
        Returns nsh service index value.
        Returns:
        the nsh service index
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object