public final class NshServiceIndex
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static NshServiceIndex |
of(short serviceIndex)
Returns the NshServiceIndex by setting its value.
|
short |
serviceIndex()
Returns nsh service index value.
|
java.lang.String |
toString() |
public static NshServiceIndex of(short serviceIndex)
serviceIndex
- nsh service indexpublic short serviceIndex()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object