|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.collection.ArrayAttributeMap
@Deprecated public class ArrayAttributeMap
AttributeMap implementation that stores AttributeKey value pairs in an array and locates the desired AttributeKey by making a linear scan.
Although extremely memory efficient and fast for the number of attributes stored on most UINodes ( < 15), FlaggedAttributeMap is a better general purpose AttributeMap implementation for use as UINode storage.
FlaggedAttributeMap,
IndexedAttributeMap| Constructor Summary | |
|---|---|
ArrayAttributeMap()
Deprecated. |
|
ArrayAttributeMap(int size)
Deprecated. |
|
ArrayAttributeMap(int size,
int increment)
Deprecated. |
|
| Method Summary | |
|---|---|
java.util.Iterator<AttributeKey> |
attributeKeys(UIXRenderingContext context)
Deprecated. Returns an Iterator of all of the AttributeKeys in the AttributeMap that values exist for. |
java.lang.Object |
clone()
Deprecated. Clones the map. |
java.lang.Object |
getAttribute(UIXRenderingContext context,
AttributeKey key)
Deprecated. Returns the value in the AttributeMap specified by the key. |
protected void |
putAttribute(AttributeKey key,
java.lang.Object value)
Deprecated. |
protected void |
removeAttribute(AttributeKey key)
Deprecated. |
void |
setAttribute(AttributeKey key,
java.lang.Object value)
Deprecated. Sets an attribute value specified by the key to the new value. |
int |
size()
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayAttributeMap()
public ArrayAttributeMap(int size)
public ArrayAttributeMap(int size,
int increment)
| Method Detail |
|---|
public java.lang.Object getAttribute(UIXRenderingContext context,
AttributeKey key)
AttributeMap
getAttribute in interface AttributeMap
public void setAttribute(AttributeKey key,
java.lang.Object value)
AttributeMap
setAttribute in interface AttributeMappublic java.util.Iterator<AttributeKey> attributeKeys(UIXRenderingContext context)
AttributeMap
attributeKeys in interface AttributeMappublic int size()
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
protected void putAttribute(AttributeKey key,
java.lang.Object value)
protected void removeAttribute(AttributeKey key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||