Package org.onosproject.net
Class NshContextHeader
- java.lang.Object
-
- org.onosproject.net.NshContextHeader
-
public final class NshContextHeader extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
int
nshContextHeader()
Returns nsh context header value.static NshContextHeader
of(int nshContextHeader)
Returns the NshContextHeader by setting its value.java.lang.String
toString()
-
-
-
Method Detail
-
of
public static NshContextHeader of(int nshContextHeader)
Returns the NshContextHeader by setting its value.- Parameters:
nshContextHeader
- nsh context header value.- Returns:
- NshContextHeader
-
nshContextHeader
public int nshContextHeader()
Returns nsh context header value.- Returns:
- the nsh context header
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-