Package com.mongodb

Class TagSet

    • Constructor Detail

      • TagSet

        public TagSet​()
        An empty set of tags.
      • TagSet

        public TagSet​(Tag tag)
        A set of tags contain the single given tag
        Parameters:
        tag - the tag
      • TagSet

        public TagSet​(List<Tag> tagList)
        A set of tags containing the given list of tags.
        Parameters:
        tagList - the list of tags
    • Method Detail

      • containsAll

        public boolean containsAll​(TagSet tagSet)
        Returns true if this tag set contains all of the elements of the specified tag set.
        Parameters:
        tagSet - tag set to be checked for containment in this tag set
        Returns:
        true if this tag set contains all of the elements of the specified tag set
      • hashCode

        public int hashCode​()
        Overrides:
        hashCode in class Object