Package org.onosproject.net.meter
Class MeterFeaturesKey
- java.lang.Object
-
- org.onosproject.net.meter.MeterFeaturesKey
-
public final class MeterFeaturesKey extends java.lang.Object
A meter features key represents a meter features uniquely. Right now only deviceId is used but this class might be useful in virtualization in which a unique deviceId could have multiple features (guess).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceId
deviceId()
boolean
equals(java.lang.Object obj)
int
hashCode()
static MeterFeaturesKey
key(DeviceId did)
java.lang.String
toString()
-
-
-
Method Detail
-
key
public static MeterFeaturesKey key(DeviceId did)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
deviceId
public DeviceId deviceId()
-
-