Package com.tangosol.util
Class MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntryVisitor
- java.lang.Object
-
- com.tangosol.util.MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntryVisitor
-
- All Implemented Interfaces:
BinaryLongMap.EntryVisitor,MultiBinaryLongMap.SafeEntryVisitor
- Enclosing class:
- MultiBinaryLongMap.MaskedBinaryLongMap
protected class MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntryVisitor extends Object implements MultiBinaryLongMap.SafeEntryVisitor
MaskedEntryVisitor is a wrapper for an EntryVisitor that exposes the logical entries of this MaskedEntryVisitor.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanf_fExistingFlag to indicate whether the underlying visitor is to visit only entries that logically exist in the MaskedBinaryLongMap.protected MultiBinaryLongMap.SafeEntryVisitorf_visitorSafeThe wrapped (safe) predicate to apply to the logical entries of this MaskedBinaryLongMap.
-
Constructor Summary
Constructors Constructor Description MaskedEntryVisitor(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 voidvisit(BinaryLongMap.Entry entry)Visit the specified entry.
-
-
-
Field Detail
-
f_visitorSafe
protected final MultiBinaryLongMap.SafeEntryVisitor f_visitorSafe
The wrapped (safe) predicate to apply to the logical entries of this MaskedBinaryLongMap.
-
f_fExisting
protected final boolean f_fExisting
Flag to indicate whether the underlying visitor is to visit only entries that logically exist in the MaskedBinaryLongMap.
-
-
Constructor Detail
-
MaskedEntryVisitor
public MaskedEntryVisitor(BinaryLongMap.EntryVisitor visitor, boolean fExisting)
Construct a DelegateEntryVisitor around the specified visitor.- Parameters:
visitor- the underlying EntryVisitor
-
-
Method Detail
-
visit
public void visit(BinaryLongMap.Entry entry)
Visit the specified entry.- Specified by:
visitin interfaceBinaryLongMap.EntryVisitor- Parameters:
entry- the entry
-
-