Class ExtensionSelectorType
- java.lang.Object
-
- org.onosproject.net.flow.criteria.ExtensionSelectorType
-
@Beta public class ExtensionSelectorType extends java.lang.ObjectType of selector extensions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtensionSelectorType.ExtensionSelectorTypesA 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 booleanequals(java.lang.Object obj)inthashCode()inttoInt()Returns the integer value associated with this type.java.lang.StringtoString()
-
-
-
Method Detail
-
toInt
public int toInt()
Returns the integer value associated with this type.- Returns:
- an integer value
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-