Class TagMapImpl

    • Constructor Detail

      • TagMapImpl

        public TagMapImpl​(java.util.Map<? extends TagKey,​? extends TagValueWithMetadata> tags)
        Creates a new TagMapImpl with the given tags.
        Parameters:
        tags - the initial tags for this TagMapImpl.
    • Method Detail

      • getIterator

        protected java.util.Iterator<Tag> getIterator()
        Description copied from class: TagContext
        Returns an iterator over the tags in this TagContext.
        Specified by:
        getIterator in class TagContext
        Returns:
        an iterator over the tags in this TagContext.
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object other)
        Description copied from class: TagContext
        Returns true iff the other object is an instance of TagContext and contains the same key-value pairs. Implementations are free to override this method to provide better performance.
        Overrides:
        equals in class TagContext