@Immutable public final class TagSet extends Object implements Iterable<Tag>
ReadPreference
Constructor and Description |
---|
TagSet()
An empty set of tags.
|
TagSet(List<Tag> tagList)
A set of tags containing the given list of tags.
|
TagSet(Tag tag)
A set of tags contain the single given tag
|
public TagSet()
public TagSet(Tag tag)
tag
- the tagpublic boolean containsAll(TagSet tagSet)
tagSet
- tag set to be checked for containment in this tag setCopyright © 2016. All Rights Reserved.