Package org.onosproject.core
Class GroupId
- java.lang.Object
-
- org.onlab.util.Identifier<java.lang.Integer>
-
- org.onosproject.core.GroupId
-
public class GroupId extends org.onlab.util.Identifier<java.lang.Integer>
Group identifier.
-
-
Constructor Summary
Constructors Constructor Description GroupId(int id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static GroupId
valueOf(int id)
Returns a group ID as an integer value.
-
-
-
Method Detail
-
valueOf
public static GroupId valueOf(int id)
Returns a group ID as an integer value. The method is not intended for use by application developers. Return data type may change in the future release.- Parameters:
id
- int value- Returns:
- group ID
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.onlab.util.Identifier<java.lang.Integer>
-
-