Package org.onosproject.store.flow.impl
Class BucketId
- java.lang.Object
-
- org.onosproject.store.flow.impl.BucketId
-
public class BucketId extends java.lang.ObjectRepresents a distinct device flow bucket.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbucket()Returns the bucket number.org.onosproject.net.DeviceIddeviceId()Returns the bucket device identifier.booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
deviceId
public org.onosproject.net.DeviceId deviceId()
Returns the bucket device identifier.- Returns:
- the device identifier
-
bucket
public int bucket()
Returns the bucket number.- Returns:
- the bucket number
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-