|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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.Mapclear in class java.util.AbstractMappublic boolean containsKey(java.lang.Object key)
containsKey in interface java.util.MapcontainsKey in class java.util.AbstractMappublic java.util.Set entrySet()
entrySet in interface java.util.MapentrySet in class com.endeca.navigation.PropertyMappublic java.util.Collection getValues(java.lang.String key)
PropertyMap with the same key.
getValues in class com.endeca.navigation.PropertyMapnull when no values are
associated with key.public boolean isEmpty()
isEmpty in interface java.util.MapisEmpty in class java.util.AbstractMappublic java.util.Set keySet()
keySet in interface java.util.MapkeySet in class java.util.AbstractMap
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Mapput in class java.util.AbstractMapjava.lang.IllegalArgumentExceptionpublic void putAll(java.util.Map m)
putAll in interface java.util.MapputAll in class java.util.AbstractMappublic java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Mapremove in class java.util.AbstractMappublic boolean remove(com.endeca.navigation.Property pProperty)
pProperty -
public int size()
size in interface java.util.Mapsize in class java.util.AbstractMappublic java.util.Collection values()
values in interface java.util.Mapvalues in class java.util.AbstractMappublic 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 | |||||||||