public class SimpleElement.AttributeMap extends AbstractMap implements Cloneable, Serializable, ExternalizableLite
As of Coherence 3.2, this is an inlined version of the old ListMap.
| Modifier and Type | Class and Description |
|---|---|
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.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AttributeMap() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
containsValue, hashCode, isEmpty, keySet, putAll, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 AbstractMappublic 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 AbstractMappublic 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 objectIOException - if an I/O exception occursNotActiveException - if the object is not in its initial state, and therefore cannot be deserialized intopublic void writeExternal(DataOutput out) throws IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object toIOException - 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 forprotected SimpleElement.AttributeMap.Entry getFirstEntry()
protected Set instantiateEntrySet()