public class MeterId
extends java.lang.Object
Constructor and Description |
---|
MeterId(java.lang.String name,
java.lang.Iterable<Tag> tags) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
java.util.List<Tag> |
getTags() |
int |
hashCode() |
Measurement |
measurement(double value) |
java.lang.String |
toString() |
MeterId |
withName(java.lang.String newName) |
MeterId |
withTags(java.lang.Iterable<Tag> extraTags) |
MeterId |
withTags(Tag... extraTags) |
public MeterId(java.lang.String name, java.lang.Iterable<Tag> tags)
public java.lang.String getName()
public java.util.List<Tag> getTags()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public MeterId withTags(java.lang.Iterable<Tag> extraTags)
public MeterId withName(java.lang.String newName)
public Measurement measurement(double value)