Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry

java.lang.Object
  extended by com.tangosol.util.MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry

All Implemented Interfaces:
BinaryLongMap.Entry
Enclosing class:
MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor

protected class MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry
extends java.lang.Object
implements BinaryLongMap.Entry

WrapperEntry is used to wrap an Entry from the master key-tree (which associates the key with the encoded slot-id) and associate it with the logical value associated with this AbstractDelegatingBinaryLongMap for the purposes of exposing to the predicate. The purpose of the WrapperEntry is to limit the amount


Field Summary
protected  BinaryLongMap.Entry m_entry
          The underlying Entry.

 

Constructor Summary
protected MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry()
           

 

Method Summary
 Binary getKey()
          Obtain the key.
 long getValue()
          Obtain the value associated with this entry.
 void reset(BinaryLongMap.Entry entry)
          Reset the WrapperEntry to represent a different underlying Entry.
 BinaryLongMap.Entry setValue(long lValue)
          Set the value associated with this entry.

 

Field Detail

m_entry

protected BinaryLongMap.Entry m_entry
The underlying Entry.

Constructor Detail

MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry

protected MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry()

Method Detail

getKey

public Binary getKey()
Obtain the key.
Specified by:
getKey in interface BinaryLongMap.Entry
Returns:
the key as a Binary

getValue

public long getValue()
Obtain the value associated with this entry.
Specified by:
getValue in interface BinaryLongMap.Entry
Returns:
the associated value as a long

setValue

public BinaryLongMap.Entry setValue(long lValue)
Set the value associated with this entry.

Note: in some implementations, this operation may cause this Entry to be replaced with another Entry instance in the underlying representation.

Specified by:
setValue in interface BinaryLongMap.Entry
Parameters:
lValue - the value to associate with this entry
Returns:
an BinaryLongMap.Entry with the new value, which may or may not be the same BinaryLongMap.Entry as this

reset

public void reset(BinaryLongMap.Entry entry)
Reset the WrapperEntry to represent a different underlying Entry.
Parameters:
entry - the new entry to wrap

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.