public final class ImmutableAttributes extends Object implements Attributes, Serializable
Attributes interface.| Constructor and Description |
|---|
ImmutableAttributes()
Constructs an empty immutable Attributes object.
|
ImmutableAttributes(Attributes attributes)
Constructs an immutable copy of the passed in attributes.
|
ImmutableAttributes(Map<String,Set<String>> attributesMap)
Constructs an immutable Attributes object from the given Map.
|
public ImmutableAttributes()
public ImmutableAttributes(@Nonnull Map<String,Set<String>> attributesMap)
attributesMap - The incoming attributes Map.public ImmutableAttributes(@Nonnull Attributes attributes)
attributes - to clone.public Set<String> getValues(String key)
getValues in interface Attributespublic String getValue(String key)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface AttributesCopyright © 2019 Atlassian. All rights reserved.