public class MultiValuedAttributeEntityList extends Object implements Attributes, Iterable<MultiValuedAttributeEntity>
| Constructor and Description |
|---|
MultiValuedAttributeEntityList(List<MultiValuedAttributeEntity> attributes) |
| Modifier and Type | Method and Description |
|---|---|
MultiValuedAttributeEntity |
get(int index) |
Set<String> |
getKeys()
Gets all the keys of the attributes.
|
String |
getValue(String key)
Returns any value associated with the given key, returns
null if there is no value. |
Set<String> |
getValues(String key)
Get all the values associated with a given key.
|
boolean |
isEmpty() |
Iterator<MultiValuedAttributeEntity> |
iterator() |
int |
size() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic MultiValuedAttributeEntityList(List<MultiValuedAttributeEntity> attributes)
public int size()
public Set<String> getValues(String key)
AttributesgetValues in interface Attributeskey - the key to retrieve the values forpublic String getValue(String key)
Attributesnull if there is no value.getValue in interface Attributeskey - the key to retrieve the value fornull if there is no valuepublic Set<String> getKeys()
AttributesgetKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributestrue if there are no attributespublic MultiValuedAttributeEntity get(int index)
public Iterator<MultiValuedAttributeEntity> iterator()
iterator in interface Iterable<MultiValuedAttributeEntity>Copyright © 2024 Atlassian. All rights reserved.