@Immutable public final class TagMapImpl extends io.opencensus.tags.TagContext
TagContext.| Modifier and Type | Field and Description |
|---|---|
static TagMapImpl |
EMPTY
Empty
TagMapImpl with no tags. |
| Constructor and Description |
|---|
TagMapImpl(Map<? extends io.opencensus.tags.TagKey,? extends TagValueWithMetadata> tags)
Creates a new
TagMapImpl with the given tags. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
protected Iterator<io.opencensus.tags.Tag> |
getIterator() |
Map<io.opencensus.tags.TagKey,TagValueWithMetadata> |
getTags()
Returns the tags of this
TagMapImpl. |
public static final TagMapImpl EMPTY
TagMapImpl with no tags.public TagMapImpl(Map<? extends io.opencensus.tags.TagKey,? extends TagValueWithMetadata> tags)
TagMapImpl with the given tags.tags - the initial tags for this TagMapImpl.public Map<io.opencensus.tags.TagKey,TagValueWithMetadata> getTags()
TagMapImpl.protected Iterator<io.opencensus.tags.Tag> getIterator()
getIterator in class io.opencensus.tags.TagContext