org.apache.myfaces.trinidad.bean.util
Class PropertyArrayMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by org.apache.myfaces.trinidad.util.ArrayMap<PropertyKey,java.lang.Object>
          extended by org.apache.myfaces.trinidad.bean.util.PropertyArrayMap
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<PropertyKey,java.lang.Object>, PropertyMap

public class PropertyArrayMap
extends ArrayMap<PropertyKey,java.lang.Object>
implements PropertyMap


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
PropertyArrayMap()
           
PropertyArrayMap(int initialCapacity)
           
 
Method Summary
protected  PropertyMap createDeltaPropertyMap()
           
 java.lang.Object get(PropertyKey pKey)
           
 boolean getUseStateHolder()
           
 void markInitialState()
           
 java.lang.Object put(PropertyKey key, java.lang.Object value)
           
 void putAll(java.util.Map<? extends PropertyKey,? extends java.lang.Object> t)
           
 java.lang.Object remove(java.lang.Object key)
           
 void restoreState(javax.faces.context.FacesContext context, FacesBean.Type type, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setUseStateHolder(boolean useStateHolder)
           
 
Methods inherited from class org.apache.myfaces.trinidad.util.ArrayMap
clear, clone, containsKey, containsValue, entrySet, get, get, getByEquality, getByIdentity, getByIdentity, getKey, getKeys, getValue, getValues, keys, put, remove, remove, size
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, keySet, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, size, values
 

Constructor Detail

PropertyArrayMap

public PropertyArrayMap(int initialCapacity)

PropertyArrayMap

public PropertyArrayMap()
Method Detail

get

public java.lang.Object get(PropertyKey pKey)

put

public java.lang.Object put(PropertyKey key,
                            java.lang.Object value)
Specified by:
put in interface java.util.Map<PropertyKey,java.lang.Object>
Overrides:
put in class ArrayMap<PropertyKey,java.lang.Object>

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map<PropertyKey,java.lang.Object>
Overrides:
remove in class ArrayMap<PropertyKey,java.lang.Object>

putAll

public void putAll(java.util.Map<? extends PropertyKey,? extends java.lang.Object> t)
Specified by:
putAll in interface java.util.Map<PropertyKey,java.lang.Object>
Overrides:
putAll in class java.util.AbstractMap<PropertyKey,java.lang.Object>

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface PropertyMap

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         FacesBean.Type type,
                         java.lang.Object state)
Specified by:
restoreState in interface PropertyMap

createDeltaPropertyMap

protected PropertyMap createDeltaPropertyMap()

getUseStateHolder

public boolean getUseStateHolder()

setUseStateHolder

public void setUseStateHolder(boolean useStateHolder)

markInitialState

public void markInitialState()
Specified by:
markInitialState in interface PropertyMap


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.