Package org.onosproject.net.meter
Class MeterKey
- java.lang.Object
-
- org.onosproject.net.meter.MeterKey
-
public final class MeterKey extends java.lang.Object
A meter key represents a meter uniquely.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceId
deviceId()
boolean
equals(java.lang.Object o)
int
hashCode()
static MeterKey
key(DeviceId deviceId, MeterId id)
MeterId
meterId()
java.lang.String
toString()
-
-
-
Method Detail
-
deviceId
public DeviceId deviceId()
-
meterId
public MeterId meterId()
-
equals
public boolean equals(java.lang.Object o)
- 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
-
-