Package org.onosproject.core
Class GroupId
- java.lang.Object
-
- org.onlab.util.Identifier<Integer>
-
- org.onosproject.core.GroupId
-
public class GroupId extends Identifier<Integer>
Group identifier.
-
-
Field Summary
-
Fields inherited from class org.onlab.util.Identifier
identifier
-
-
Constructor Summary
Constructors Constructor Description GroupId(int id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Returns a string representation of a DeviceKeyId.static GroupId
valueOf(int id)
Returns a group ID as an integer value.-
Methods inherited from class org.onlab.util.Identifier
equals, hashCode, id
-
-
-
-
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 String toString()
Description copied from class:Identifier
Returns a string representation of a DeviceKeyId.- Overrides:
toString
in classIdentifier<Integer>
- Returns:
- string
-
-