Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.util
Class ConverterCollections.ConverterMapEvent.ConverterMapEventEntry

java.lang.Object
  extended by com.tangosol.util.ConverterCollections.ConverterMapEvent.ConverterMapEventEntry

All Implemented Interfaces:
java.util.Map.Entry
Direct Known Subclasses:
ConverterCollections.ConverterMapEvent.ConverterMapEventBinaryEntry
Enclosing class:
ConverterCollections.ConverterMapEvent

protected class ConverterCollections.ConverterMapEvent.ConverterMapEventEntry
extends java.lang.Object
implements java.util.Map.Entry

ConverterMapEventEntry provides the Map Entry interface to the information encapsulated inside the ConverterMapEvent.


Field Summary
protected  boolean m_fNewValue
          Determines whether this entry represents the old or new value.

 

Constructor Summary
ConverterCollections.ConverterMapEvent.ConverterMapEventEntry(boolean fNewValue)
          Constructor.

 

Method Summary
 Binary getBinaryKey()
          Return a raw binary key for this entry.
 Binary getBinaryValue()
          Return a raw binary value for this entry.
 java.lang.Object getKey()
          Returns the key corresponding to this entry.
 java.lang.Object getValue()
          Returns the value corresponding to this entry.
 java.lang.Object setValue(java.lang.Object oValue)
          Replaces the value corresponding to this entry with the specified value (optional operation).

 

Methods inherited from interface java.util.Map.Entry
equals, hashCode

 

Field Detail

m_fNewValue

protected boolean m_fNewValue
Determines whether this entry represents the old or new value.

Constructor Detail

ConverterCollections.ConverterMapEvent.ConverterMapEventEntry

public ConverterCollections.ConverterMapEvent.ConverterMapEventEntry(boolean fNewValue)
Constructor.
Parameters:
fNewValue - specifies whether the value represented by this entry is the new or the old value

Method Detail

getBinaryKey

public Binary getBinaryKey()
Return a raw binary key for this entry.
Returns:
a raw binary key for this entry

getBinaryValue

public Binary getBinaryValue()
Return a raw binary value for this entry.
Returns:
a raw binary value for this entry; null if the value does not exist

getKey

public java.lang.Object getKey()
Returns the key corresponding to this entry.
Specified by:
getKey in interface java.util.Map.Entry
Returns:
the key corresponding to this entry.

getValue

public java.lang.Object getValue()
Returns the value corresponding to this entry. If the mapping has been removed from the backing map (by the iterator's remove operation), the results of this call are undefined.
Specified by:
getValue in interface java.util.Map.Entry
Returns:
the value corresponding to this entry.

setValue

public java.lang.Object setValue(java.lang.Object oValue)
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
Parameters:
oValue - new value to be stored in this entry.
Returns:
old value corresponding to the entry.

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


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