Package com.tangosol.util
Class MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor
- java.lang.Object
-
- com.tangosol.util.MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor
-
- All Implemented Interfaces:
BinaryLongMap.EntryVisitor
,MultiBinaryLongMap.SafeEntryVisitor
- Enclosing class:
- MultiBinaryLongMap.AbstractDelegateBinaryLongMap
protected class MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor extends Object implements MultiBinaryLongMap.SafeEntryVisitor
DelegateEntryVisitor is a wrapper for an EntryVisitor that exposes the logical entries of this AbstractDelegateBinaryLongMap.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry
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.
-
Field Summary
Fields Modifier and Type Field Description protected MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry
f_entryTemp
The (singleton) WrapperEntry that is used in the visitor iteration.protected boolean
f_fExisting
Flag indicating whether the underlying visitor should visit only entries that logically exist.protected int
f_iIndex
The index of the DelegatingBinaryLongMap.protected MultiBinaryLongMap.LongStorage
f_store
The LongStorage.protected BinaryLongMap.EntryVisitor
f_visitor
The wrapped (safe) predicate to apply to the logical entries of this DelegatingBinaryLongMap.
-
Constructor Summary
Constructors Constructor Description DelegateEntryVisitor(BinaryLongMap.EntryVisitor visitor, boolean fExisting)
Construct a DelegateEntryVisitor around the specified visitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(BinaryLongMap.Entry entry)
Visit the specified entry.
-
-
-
Field Detail
-
f_entryTemp
protected final transient MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry f_entryTemp
The (singleton) WrapperEntry that is used in the visitor iteration.
-
f_visitor
protected final BinaryLongMap.EntryVisitor f_visitor
The wrapped (safe) predicate to apply to the logical entries of this DelegatingBinaryLongMap.
-
f_iIndex
protected final int f_iIndex
The index of the DelegatingBinaryLongMap.
-
f_store
protected final MultiBinaryLongMap.LongStorage f_store
The LongStorage.
-
f_fExisting
protected final boolean f_fExisting
Flag indicating whether the underlying visitor should visit only entries that logically exist.
-
-
Constructor Detail
-
DelegateEntryVisitor
public DelegateEntryVisitor(BinaryLongMap.EntryVisitor visitor, boolean fExisting)
Construct a DelegateEntryVisitor around the specified visitor.- Parameters:
visitor
- the underlying EntryVisitorfExisting
- true iff the underlying visitor should only visit existing entries
-
-
Method Detail
-
visit
public void visit(BinaryLongMap.Entry entry)
Visit the specified entry.- Specified by:
visit
in interfaceBinaryLongMap.EntryVisitor
- Parameters:
entry
- the entry
-
-