|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap com.endeca.navigation.PropertyMap com.endeca.navigation.MPropertyMap
public class MPropertyMap
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
MPropertyMap()
|
|
MPropertyMap(com.endeca.navigation.PropertyMap pPropertyMap)
|
Method Summary | |
---|---|
void |
add(com.endeca.navigation.Property a)
The only way to get data into this object. |
void |
clear()
|
boolean |
containsKey(java.lang.Object key)
|
java.util.Set |
entrySet()
Gets the set of all properties in this property map |
java.util.Collection |
getValues(java.lang.String key)
Gets the values associated with this key. |
boolean |
isEmpty()
|
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
The specified key should be of type String. |
void |
putAll(java.util.Map m)
|
java.lang.Object |
remove(java.lang.Object key)
Removes all the Property objects with the given key. |
boolean |
remove(com.endeca.navigation.Property pProperty)
Removes a single Property object from the PropertyMap |
int |
size()
Returns the number of Property objects in this PropertyMap |
java.util.Collection |
values()
Same as entrySet() for PropertyMap |
Methods inherited from class java.util.AbstractMap |
---|
containsValue, equals, get, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
containsValue, equals, get, hashCode |
Constructor Detail |
---|
public MPropertyMap()
public MPropertyMap(com.endeca.navigation.PropertyMap pPropertyMap)
Method Detail |
---|
public void clear()
clear
in interface java.util.Map
clear
in class java.util.AbstractMap
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
containsKey
in class java.util.AbstractMap
public java.util.Set entrySet()
entrySet
in interface java.util.Map
entrySet
in class com.endeca.navigation.PropertyMap
public java.util.Collection getValues(java.lang.String key)
PropertyMap
with the same key.
getValues
in class com.endeca.navigation.PropertyMap
null
when no values are
associated with key
.public boolean isEmpty()
isEmpty
in interface java.util.Map
isEmpty
in class java.util.AbstractMap
public java.util.Set keySet()
keySet
in interface java.util.Map
keySet
in class java.util.AbstractMap
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
put
in class java.util.AbstractMap
java.lang.IllegalArgumentException
public void putAll(java.util.Map m)
putAll
in interface java.util.Map
putAll
in class java.util.AbstractMap
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
remove
in class java.util.AbstractMap
public boolean remove(com.endeca.navigation.Property pProperty)
pProperty
-
public int size()
size
in interface java.util.Map
size
in class java.util.AbstractMap
public java.util.Collection values()
values
in interface java.util.Map
values
in class java.util.AbstractMap
public void add(com.endeca.navigation.Property a)
add
in class com.endeca.navigation.PropertyMap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |