public class PropertyHashMap extends HashMap<PropertyKey,Object> implements PropertyMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PropertyHashMap() |
PropertyHashMap(int initialCapacity) |
PropertyHashMap(int initialCapacity,
float loadFactor) |
PropertyHashMap(PropertyMap map) |
Modifier and Type | Method and Description |
---|---|
void |
clearInitialState()
Reset to a non-delta tracking state.
|
protected PropertyMap |
createDeltaPropertyMap() |
boolean |
getUseStateHolder() |
boolean |
initialStateMarked() |
void |
markInitialState() |
Object |
put(PropertyKey key,
Object value) |
void |
putAll(Map<? extends PropertyKey,? extends Object> t) |
Object |
remove(Object key) |
void |
restoreState(javax.faces.context.FacesContext context,
FacesBean.Type type,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setType(FacesBean.Type type)
Sets the the FacesBean type used by this map's owner bean
|
void |
setUseStateHolder(boolean useStateHolder) |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, size, values
equals, hashCode, toString
public PropertyHashMap(PropertyMap map)
public PropertyHashMap(int initialCapacity, float loadFactor)
public PropertyHashMap(int initialCapacity)
public PropertyHashMap()
public Object put(PropertyKey key, Object value)
put
in interface Map<PropertyKey,Object>
put
in class HashMap<PropertyKey,Object>
public Object remove(Object key)
remove
in interface Map<PropertyKey,Object>
remove
in class HashMap<PropertyKey,Object>
public void putAll(Map<? extends PropertyKey,? extends Object> t)
putAll
in interface Map<PropertyKey,Object>
putAll
in class HashMap<PropertyKey,Object>
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface PropertyMap
public void restoreState(javax.faces.context.FacesContext context, FacesBean.Type type, Object state)
restoreState
in interface PropertyMap
protected PropertyMap createDeltaPropertyMap()
public boolean getUseStateHolder()
public void setUseStateHolder(boolean useStateHolder)
public void markInitialState()
markInitialState
in interface PropertyMap
public void clearInitialState()
PropertyMap
clearInitialState
in interface PropertyMap
public boolean initialStateMarked()
initialStateMarked
in interface PropertyMap
public void setType(FacesBean.Type type)
type
- FacesBean typeCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.