public interface IPersonalAttributeList extends Iterable<PersonalAttribute>
PersonalAttributeList
.PersonalAttribute
Modifier and Type | Method and Description |
---|---|
boolean |
add(PersonalAttribute value)
Adds to the PersonalAttributeList the given PersonalAttribute.
|
boolean |
contains(PersonalAttribute personalAttribute)
Checks if the Personal Attribute List contains the given key.
|
boolean |
containsFriendlyName(String friendlyName)
Checks if the Personal Attribute List contains the given key.
|
PersonalAttribute |
getByFriendlyName(String friendlyName)
Deprecated.
use
values(String) instead. |
PersonalAttribute |
getFirst(PersonalAttribute personalAttribute)
Returns the first value to which the specified key is mapped, or null if this map contains no mapping for the key.
|
boolean |
isEmpty()
Returns true if this map contains no key-value mappings.
|
PersonalAttribute |
removeByFriendlyName(String friendlyName)
Removes the mapping for this key from this map if present.
|
int |
size()
Get the size of the Personal Attribute List.
|
Collection<PersonalAttribute> |
values()
Returns a collection view of the values contained in this map.
|
Collection<PersonalAttribute> |
values(String key)
Returns all the values to which the specified key is mapped, or null if this map contains no mapping for the key.
|
forEach, iterator, spliterator
@Deprecated PersonalAttribute getByFriendlyName(String friendlyName)
values(String)
instead.friendlyName
- whose associated value is to be returned.PersonalAttribute
PersonalAttribute getFirst(PersonalAttribute personalAttribute)
personalAttribute
- whose associated value is to be returned.PersonalAttribute
@Nullable Collection<PersonalAttribute> values(@Nullable String key)
key
- whose associated value is to be returned.PersonalAttribute
boolean add(PersonalAttribute value)
value
- PersonalAttribute to add to the PersonalAttributeListint size()
boolean containsFriendlyName(String friendlyName)
friendlyName
- with which the specified value is to be associated.boolean contains(PersonalAttribute personalAttribute)
personalAttribute
- the personalAttribute to check.PersonalAttribute removeByFriendlyName(String friendlyName)
friendlyName
- key whose mapping is to be removed from the map.Collection<PersonalAttribute> values()
boolean isEmpty()
Copyright © 2020. All Rights Reserved.