|
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 Map
size
in class AbstractMap
public boolean containsKey(Object key)
containsKey
in interface Map
containsKey
in class AbstractMap
public Object get(Object key)
get
in interface Map
get
in class AbstractMap
public Object put(Object key, Object value)
put
in interface Map
put
in class AbstractMap
public Object remove(Object key)
remove
in interface Map
remove
in class AbstractMap
public void clear()
clear
in interface Map
clear
in class AbstractMap
public Set entrySet()
entrySet
in interface Map
entrySet
in class AbstractMap
public boolean equals(Object o)
equals
in interface Map
equals
in class AbstractMap
public Object clone()
clone
in class AbstractMap
public void readExternal(DataInput in) throws IOException
readExternal
in interface ExternalizableLite
in
- 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 intopublic void writeExternal(DataOutput out) throws IOException
writeExternal
in interface ExternalizableLite
out
- the DataOutput stream to write the state of this object to
IOException
- if an I/O exception occursprotected 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 |