|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.collection.DictionaryAttributeMap
AttributeMap implementation that delegates storage of the AttibuteMap to a Dictionary. Although this implementation is the fastest when large numbers of unindexed AttributeKey values are stored in the AttributeMap, for most uses FlaggedAttributeMap has similar or better performance at a much smaller memory cost, while IndexedAttributeMap is faster with a similar cost.
FlaggedAttributeMap
,
IndexedAttributeMap
Constructor Summary | |
DictionaryAttributeMap()
|
|
DictionaryAttributeMap(java.util.Dictionary dictionary)
|
Method Summary | |
java.util.Enumeration |
attributeKeys(RenderingContext context)
Returns an Enumeration of all of the AttributeKeys in the AttributeMap that values exist for. |
protected java.util.Dictionary |
createDefaultDictionary()
|
java.lang.Object |
getAttribute(RenderingContext context,
AttributeKey key)
Returns the value in the AttributeMap specified by the key. |
void |
setAttribute(AttributeKey key,
java.lang.Object value)
Sets an attribute value specified by the key to the new value. |
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DictionaryAttributeMap()
public DictionaryAttributeMap(java.util.Dictionary dictionary)
Method Detail |
public java.lang.Object getAttribute(RenderingContext context, AttributeKey key)
AttributeMap
getAttribute
in interface AttributeMap
public void setAttribute(AttributeKey key, java.lang.Object value)
AttributeMap
setAttribute
in interface AttributeMap
public java.util.Enumeration attributeKeys(RenderingContext context)
AttributeMap
attributeKeys
in interface AttributeMap
public int size()
protected java.util.Dictionary createDefaultDictionary()
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |