public interface TagList extends java.lang.Iterable<Tag>
Modifier and Type | Method and Description |
---|---|
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.
|
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()