|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.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. |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry, java.util.AbstractMap.SimpleImmutableEntry |
Constructor Summary | |
---|---|
SimpleElement.AttributeMap() |
Method Summary | |
---|---|
void |
clear() |
java.lang.Object |
clone() |
boolean |
containsKey(java.lang.Object key) |
java.util.Set |
entrySet() |
boolean |
equals(java.lang.Object o) |
protected SimpleElement.AttributeMap.Entry |
findEntry(java.lang.Object oKey) Find an entry with the specified key. |
java.lang.Object |
get(java.lang.Object key) |
protected SimpleElement.AttributeMap.Entry |
getFirstEntry() Return the first entry in the list.. |
protected SimpleElement.AttributeMap.Entry |
instantiateEntry(java.lang.Object oKey, java.lang.Object oVal) Instantiate an Entry instance. |
protected java.util.Set |
instantiateEntrySet() Instantiate an Entry Set. |
java.lang.Object |
put(java.lang.Object key, java.lang.Object value) |
void |
readExternal(java.io.DataInput in) Restore the contents of this object by loading the object's state from the passed DataInput object. |
java.lang.Object |
remove(java.lang.Object key) |
int |
size() |
void |
writeExternal(java.io.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 java.util.Map
size
in class java.util.AbstractMap
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
containsKey
in class java.util.AbstractMap
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
get
in class java.util.AbstractMap
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
put
in class java.util.AbstractMap
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
remove
in class java.util.AbstractMap
public void clear()
clear
in interface java.util.Map
clear
in class java.util.AbstractMap
public java.util.Set entrySet()
entrySet
in interface java.util.Map
entrySet
in class java.util.AbstractMap
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map
equals
in class java.util.AbstractMap
public java.lang.Object clone()
clone
in class java.util.AbstractMap
public void readExternal(java.io.DataInput in) throws java.io.IOException
readExternal
in interface ExternalizableLite
in
- the DataInput stream to read data from in order to restore the state of this objectjava.io.IOException
- if an I/O exception occursjava.io.NotActiveException
- if the object is not in its initial state, and therefore cannot be deserialized intopublic void writeExternal(java.io.DataOutput out) throws java.io.IOException
writeExternal
in interface ExternalizableLite
out
- the DataOutput stream to write the state of this object tojava.io.IOException
- if an I/O exception occursprotected SimpleElement.AttributeMap.Entry instantiateEntry(java.lang.Object oKey, java.lang.Object oVal)
protected SimpleElement.AttributeMap.Entry findEntry(java.lang.Object oKey)
oKey
- the key to search forprotected SimpleElement.AttributeMap.Entry getFirstEntry()
protected java.util.Set instantiateEntrySet()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |