Package org.onosproject.net.meter
Class MeterFeaturesKey
- java.lang.Object
-
- org.onosproject.net.meter.MeterFeaturesKey
-
public final class MeterFeaturesKey extends java.lang.ObjectA 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 DeviceIddeviceId()booleanequals(java.lang.Object obj)inthashCode()static MeterFeaturesKeykey(DeviceId did)java.lang.StringtoString()
-
-
-
Method Detail
-
key
public static MeterFeaturesKey key(DeviceId did)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
deviceId
public DeviceId deviceId()
-
-