public class PropertyArrayMap extends ArrayMap<PropertyKey,Object> implements PropertyMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PropertyArrayMap() |
PropertyArrayMap(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
clearInitialState()
Reset to a non-delta tracking state.
|
protected PropertyMap |
createDeltaPropertyMap() |
Object |
get(PropertyKey pKey) |
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, get, getByEquality, getByIdentity, getByIdentity, getKey, getKeys, getValue, getValues, keys, put, remove, remove, size
equals, hashCode, isEmpty, keySet, toString, values
public PropertyArrayMap(int initialCapacity)
public PropertyArrayMap()
public Object get(PropertyKey pKey)
public Object put(PropertyKey key, Object value)
put
in interface Map<PropertyKey,Object>
put
in class ArrayMap<PropertyKey,Object>
public Object remove(Object key)
remove
in interface Map<PropertyKey,Object>
remove
in class ArrayMap<PropertyKey,Object>
public void putAll(Map<? extends PropertyKey,? extends Object> t)
putAll
in interface Map<PropertyKey,Object>
putAll
in class AbstractMap<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-2017 The Apache Software Foundation. All Rights Reserved.