|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.embedded.impl.ImmutableAttributes
public final class ImmutableAttributes
A general purpose immutable implementation of the Attributes interface.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
Set<String> |
getKeys()
|
String |
getValue(String key)
|
Set<String> |
getValues(String key)
|
boolean |
isEmpty()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableAttributes()
public ImmutableAttributes(@Nonnull
Map<String,Set<String>> attributesMap)
attributesMap - The incoming attributes Map.
public ImmutableAttributes(@Nonnull
Attributes attributes)
attributes - to clone.| Method Detail |
|---|
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 Attributes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||