public abstract class AbstractAttributeStore extends Object implements AttributeStore
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAttributeStore(Iterable<? extends Attribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String key)
Returns true of there exist attributes with the specified key
|
boolean |
equals(Object o) |
<T> Attribute<T> |
get(String key)
Retrieves the first attribute returned for the specified key.
|
Collection<Attribute> |
getAttributes()
Retrieves all the getAttributes.
|
Collection<Attribute> |
getAttributes(String key)
Retrieves all the attributes for the specified key.
|
int |
hashCode() |
Set<String> |
keys()
Returns the keys in the current object
|
int |
size()
Returns the size of the attributestore.
|
public Collection<Attribute> getAttributes()
AttributeStoregetAttributes in interface AttributeStorepublic Collection<Attribute> getAttributes(String key)
AttributeStoregetAttributes in interface AttributeStorepublic <T> Attribute<T> get(String key)
AttributeStoreget in interface AttributeStorepublic Set<String> keys()
AttributeStorekeys in interface AttributeStorepublic boolean contains(String key)
AttributeStorecontains in interface AttributeStorepublic int size()
AttributeStoresize in interface AttributeStoreCopyright © 2018 Calrissian. All rights reserved.