|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TagList
Represents a list of tags associated with a metric value.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
asMap()
Returns a map containing a copy of the tags in this list. |
boolean |
containsKey(java.lang.String key)
Returns true if this list has a tag with the given key. |
Tag |
getTag(java.lang.String key)
Returns the tag matching a given key or null if not match is found. |
java.lang.String |
getValue(java.lang.String key)
Returns the value matching a given key or null if not match is found. |
boolean |
isEmpty()
Returns true if this list is emtpy. |
java.util.Iterator<Tag> |
iterator()
|
int |
size()
Returns the number of tags in this list. |
| Method Detail |
|---|
Tag getTag(java.lang.String key)
java.lang.String getValue(java.lang.String key)
boolean containsKey(java.lang.String key)
boolean isEmpty()
int size()
java.util.Iterator<Tag> iterator()
iterator in interface java.lang.Iterable<Tag>java.util.Map<java.lang.String,java.lang.String> asMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||