Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.util
Class SafeSortedMap.EntryNode

java.lang.Object
  extended by com.tangosol.util.SafeSortedMap.SkipNode
      extended by com.tangosol.util.SafeSortedMap.EntryNode
All Implemented Interfaces:
java.util.Map.Entry
Enclosing class:
SafeSortedMap

protected class SafeSortedMap.EntryNode
extends SafeSortedMap.SkipNode
implements java.util.Map.Entry

EntryNode represents a key-value mapping in this map.


Field Summary
protected  java.lang.Object m_oValue
          The value represented by this EntryNode.
 
Fields inherited from class com.tangosol.util.SafeSortedMap.SkipNode
m_nodeBelow, m_nodeNext, m_oKey
 
Constructor Summary
protected SafeSortedMap.EntryNode(java.lang.Object oKey, java.lang.Object oValue)
          Construct an EntryNode for the specified key and value.
 
Method Summary
 boolean equals(java.lang.Object o)
          
 java.lang.String getDescription()
          
 java.lang.Object getValue()
          
 int hashCode()
          
 java.lang.Object setValue(java.lang.Object oValue)
          
 
Methods inherited from class com.tangosol.util.SafeSortedMap.SkipNode
getBelow, getKey, getNext, isDeleted, isIndexNode, setNext, toString
 
Methods inherited from interface java.util.Map.Entry
getKey
 

Field Detail

m_oValue

protected volatile java.lang.Object m_oValue
The value represented by this EntryNode. This is declared volatile so read operations can be unsynchronized.

Constructor Detail

SafeSortedMap.EntryNode

protected SafeSortedMap.EntryNode(java.lang.Object oKey,
                                  java.lang.Object oValue)
Construct an EntryNode for the specified key and value.

Parameters:
oKey - the key that this EntryNode represents
oValue - the value that this EntryNode represents
Method Detail

getValue

public java.lang.Object getValue()

Specified by:
getValue in interface java.util.Map.Entry

setValue

public java.lang.Object setValue(java.lang.Object oValue)

Specified by:
setValue in interface java.util.Map.Entry

equals

public boolean equals(java.lang.Object o)

Specified by:
equals in interface java.util.Map.Entry

hashCode

public int hashCode()

Specified by:
hashCode in interface java.util.Map.Entry

getDescription

public java.lang.String getDescription()

Overrides:
getDescription in class SafeSortedMap.SkipNode

Oracle® Coherence Java API Reference
v3.5

E14977-01

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