Package org.onosproject.net.flow
Class IndexTableId
- java.lang.Object
-
- org.onlab.util.Identifier<Integer>
-
- org.onosproject.net.flow.IndexTableId
-
- All Implemented Interfaces:
TableId
public final class IndexTableId extends Identifier<Integer> implements TableId
Table identifier representing the position of the table in the pipeline.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.TableId
TableId.Type
-
-
Field Summary
-
Fields inherited from class org.onlab.util.Identifier
identifier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TableId other)Compares table ID.static IndexTableIdof(int index)Returns a table identifier for the given index.TableId.Typetype()Gets type of this table ID.-
Methods inherited from class org.onlab.util.Identifier
equals, hashCode, id, toString
-
-
-
-
Method Detail
-
type
public TableId.Type type()
Description copied from interface:TableIdGets type of this table ID.
-
compareTo
public int compareTo(TableId other)
Description copied from interface:TableIdCompares table ID.
-
of
public static IndexTableId of(int index)
Returns a table identifier for the given index.- Parameters:
index- table index- Returns:
- table identifier
-
-