Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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:
InvocableMap.Entry, MapTrigger.Entry, QueryMap.Entry, 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_oOrigValue, m_oValue, NO_VALUE

 

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, extract, getKey, getOriginalValue, getValue, hashCode, isOriginalPresent, isPresent, remove, setValue, toString, update

 

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 InvocableMap.Entry
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

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.