Class ExtensionSelectorType
- java.lang.Object
-
- org.onosproject.net.flow.criteria.ExtensionSelectorType
-
@Beta public class ExtensionSelectorType extends java.lang.Object
Type of selector extensions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExtensionSelectorType.ExtensionSelectorTypes
A list of well-known named extension selector type codes.
-
Constructor Summary
Constructors Constructor Description ExtensionSelectorType(int type)
Creates an extension type with the given int type code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
int
toInt()
Returns the integer value associated with this type.java.lang.String
toString()
-
-
-
Method Detail
-
toInt
public int toInt()
Returns the integer value associated with this type.- Returns:
- an integer value
-
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
-
-