Oracle® Coherence Java API Reference
v3.5.3

E15583-01

com.tangosol.run.xml
Class SimpleElement.AttributeMap.Entry

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.SimpleMapEntry
          extended by com.tangosol.run.xml.SimpleElement.AttributeMap.Entry
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map.Entry
Enclosing class:
SimpleElement.AttributeMap

public class SimpleElement.AttributeMap.Entry
extends SimpleMapEntry

An implementation of Entry that supports keeping them in a list.


Field Summary
 
Fields inherited from class com.tangosol.util.SimpleMapEntry
m_oKey, m_oValue
 
Constructor Summary
protected SimpleElement.AttributeMap.Entry(java.lang.Object oKey, java.lang.Object oVal)
          Construct an Entry.
 
Method Summary
protected  SimpleElement.AttributeMap.Entry getNextEntry()
          Get the next entry in the linked list
protected  void setNextEntry(SimpleElement.AttributeMap.Entry entry)
          Set the next entry in the linked list.
 java.lang.Object setValue(java.lang.Object value)
          Replaces the value corresponding to this entry with the specified value (optional operation).
 
Methods inherited from class com.tangosol.util.SimpleMapEntry
clone, equals, getKey, getValue, hashCode, toString
 

Constructor Detail

SimpleElement.AttributeMap.Entry

protected SimpleElement.AttributeMap.Entry(java.lang.Object oKey,
                                           java.lang.Object oVal)
Construct an Entry.

Parameters:
oKey - the key
oVal - the value
Method Detail

setValue

public java.lang.Object setValue(java.lang.Object value)
Description copied from class: SimpleMapEntry
Replaces the value corresponding to this entry with the specified value (optional operation). (Writes through to the map.) The behavior of this call is undefined if the mapping has already been removed from the map (by the iterator's remove operation).

Specified by:
setValue in interface java.util.Map.Entry
Overrides:
setValue in class SimpleMapEntry
Parameters:
value - new value to be stored in this entry
Returns:
old value corresponding to the entry

getNextEntry

protected SimpleElement.AttributeMap.Entry getNextEntry()
Get the next entry in the linked list

Returns:
the next entry in the linked list

setNextEntry

protected void setNextEntry(SimpleElement.AttributeMap.Entry entry)
Set the next entry in the linked list.

Parameters:
entry - the next entry in the linked list

Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.