|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.AbstractMap
com.tangosol.run.xml.SimpleElement.AttributeMap
public class SimpleElement.AttributeMap
A Map implementation using a list that can be a read-only map that supports only Strings for keys and XmlValue for values.
As of Coherence 3.2, this is an inlined version of the old ListMap.
| Nested Class Summary | |
|---|---|
class |
SimpleElement.AttributeMap.Entry
An implementation of Entry that supports keeping them in a list. |
protected class |
SimpleElement.AttributeMap.EntrySet
A Set implementation to hold Entry objects. |
| Constructor Summary | |
|---|---|
SimpleElement.AttributeMap()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
Object |
clone()
|
boolean |
containsKey(Object key)
|
Set |
entrySet()
|
boolean |
equals(Object o)
|
protected SimpleElement.AttributeMap.Entry |
findEntry(Object oKey)
Find an entry with the specified key. |
Object |
get(Object key)
|
protected SimpleElement.AttributeMap.Entry |
getFirstEntry()
Return the first entry in the list.. |
protected SimpleElement.AttributeMap.Entry |
instantiateEntry(Object oKey,
Object oVal)
Instantiate an Entry instance. |
protected Set |
instantiateEntrySet()
Instantiate an Entry Set. |
Object |
put(Object key,
Object value)
|
void |
readExternal(DataInput in)
Restore the contents of this object by loading the object's state from the passed DataInput object. |
Object |
remove(Object key)
|
int |
size()
|
void |
writeExternal(DataOutput out)
Save the contents of this object by storing the object's state into the passed DataOutput object. |
| Methods inherited from class java.util.AbstractMap |
|---|
containsValue, hashCode, isEmpty, keySet, putAll, toString, values |
| Constructor Detail |
|---|
public SimpleElement.AttributeMap()
| Method Detail |
|---|
public int size()
size in interface Mapsize in class AbstractMappublic boolean containsKey(Object key)
containsKey in interface MapcontainsKey in class AbstractMappublic Object get(Object key)
get in interface Mapget in class AbstractMap
public Object put(Object key,
Object value)
put in interface Mapput in class AbstractMappublic Object remove(Object key)
remove in interface Mapremove in class AbstractMappublic void clear()
clear in interface Mapclear in class AbstractMappublic Set entrySet()
entrySet in interface MapentrySet in class AbstractMappublic boolean equals(Object o)
equals in interface Mapequals in class AbstractMappublic Object clone()
clone in class AbstractMap
public void readExternal(DataInput in)
throws IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore
the state of this object
IOException - if an I/O exception occurs
NotActiveException - if the object is not in its initial
state, and therefore cannot be deserialized into
public void writeExternal(DataOutput out)
throws IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object to
IOException - if an I/O exception occurs
protected SimpleElement.AttributeMap.Entry instantiateEntry(Object oKey,
Object oVal)
protected SimpleElement.AttributeMap.Entry findEntry(Object oKey)
oKey - the key to search for
protected SimpleElement.AttributeMap.Entry getFirstEntry()
protected Set instantiateEntrySet()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||