@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 | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | containsAll(TagSet tagSet)Returns true if this tag set contains all of the elements of the specified tag set. | 
| boolean | equals(Object o) | 
| int | hashCode() | 
| Iterator<Tag> | iterator() | 
| String | toString() | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic TagSet()
public TagSet(Tag tag)
tag - the tagpublic boolean containsAll(TagSet tagSet)
tagSet - tag set to be checked for containment in this tag set