Constructor and Description |
---|
AttributeMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
boolean |
equals(Object o) |
Object |
get(Object key) |
<E,I extends Iterable<E>> |
getAs(String key,
Class<I> iterableType,
Class<E> elementType)
Convenience method to return the property value as an instance of
Iterable with element type E . |
<T> T |
getAs(String key,
Class<T> expectedType) |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> m) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
@Nullable public <E,I extends Iterable<E>> I getAs(@Nonnull String key, @Nonnull Class<I> iterableType, @Nonnull Class<E> elementType)
Iterable
with element type E
.E
- type of the elementI
- type of the iterablekey
- property keyiterableType
- class representing the expected type of the iterableelementType
- class representing the expected type of the elementsI
, or null
, if this property map does not contain a
property with key key
ClassCastException
- if the property exists, but is not of expected type iterableType
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public boolean equals(Object o)
public int hashCode()
Copyright © 2019 Atlassian. All rights reserved.