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 int
compareTo(TableId other)
Compares table ID.static IndexTableId
of(int index)
Returns a table identifier for the given index.TableId.Type
type()
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:TableId
Gets type of this table ID.
-
compareTo
public int compareTo(TableId other)
Description copied from interface:TableId
Compares table ID.
-
of
public static IndexTableId of(int index)
Returns a table identifier for the given index.- Parameters:
index
- table index- Returns:
- table identifier
-
-