This class is deprecated.
in 3.4 for removal in 4.0. Use PropertySupport
and
PropertyMap
instead.
Class Overview
Immutable String -> String multimap. This class is mostly for convenience and readability. It implements
the Map<String, Set<String>>
interface.
Summary
Nested Classes |
class |
AttributeMap.Builder |
Builder class for AttributeMap
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Map
void
|
clear()
|
boolean
|
containsKey(Object arg0)
|
boolean
|
containsValue(Object arg0)
|
Set<Entry<K, V>>
|
entrySet()
|
boolean
|
equals(Object arg0)
|
V
|
get(Object arg0)
|
int
|
hashCode()
|
boolean
|
isEmpty()
|
Set<K>
|
keySet()
|
V
|
put(K arg0, V arg1)
|
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
V
|
remove(Object arg0)
|
int
|
size()
|
Collection<V>
|
values()
|
|
Fields
Public Methods
public
void
clear
()
Not supported for AttributeMap
public
boolean
containsKey
(Object key)
Returns
true
if there are any values associated with key
public
boolean
containsValue
(Object value)
Returns
true
if the value is present in the AtrtibuteMap (associated with any attributeName)
Returns
- the attributeName -> attributeValues entry set
public
boolean
equals
(Object o)
Parameters
attributeName
| the attributeName |
Returns
- the set of values associated with
attributeName
. Is null
if no values are associated
with attributeName
public
boolean
isEmpty
()
Returns
true if the AttributeMap is empty
Not supported for AttributeMap
Parameters
key
| the attribute name |
values
| attribute values |
public
void
putAll
(Map<? extends String, ? extends Set<String>> map)
Not supported for AttributeMap
Parameters
map
| the map of attributes to add |
Not supported for AttributeMap
public
int
size
()
Returns
- the size of the attributeMap
Returns
- the collection of all attributeValues