public static final class SortedTagList.Builder
extends java.lang.Object
SortedTagList
objects.Constructor and Description |
---|
SortedTagList.Builder() |
Modifier and Type | Method and Description |
---|---|
SortedTagList |
build()
Construct the
SortedTagList . |
SortedTagList.Builder |
withTag(java.lang.String key,
java.lang.String value)
Add the tag specified by
key and value to this builder and return self. |
SortedTagList.Builder |
withTag(Tag tag)
Add the
Tag to this builder and return self. |
SortedTagList.Builder |
withTags(java.util.Collection<Tag> tagsCollection)
Add the collection of tags
tagsCollection to this builder and
return self. |
SortedTagList.Builder |
withTags(TagList tags)
Add all tags from the
TagList tags to this builder
and return self. |
public SortedTagList.Builder withTags(java.util.Collection<Tag> tagsCollection)
tagsCollection
to this builder and
return self.public SortedTagList.Builder withTags(TagList tags)
TagList
tags to this builder
and return self.public SortedTagList.Builder withTag(Tag tag)
Tag
to this builder and return self.public SortedTagList.Builder withTag(java.lang.String key, java.lang.String value)
key
and value
to this builder and return self.public SortedTagList build()
SortedTagList
.