public static interface Exchange.TraverseVisitor
Exchange.traverse(Key.Direction, boolean, int, TraverseVisitor)
The visit(ReadOnlyExchange) method is called once for each
Key traversed by the traverse method.| Modifier and Type | Method and Description |
|---|---|
boolean |
visit(ReadOnlyExchange ex)
Receive an Exchange having
Key and Value
values set by
Exchange.traverse(Key.Direction, boolean, int, TraverseVisitor)
. |
boolean visit(ReadOnlyExchange ex) throws PersistitException
Key and Value
values set by
Exchange.traverse(Key.Direction, boolean, int, TraverseVisitor)
. This method will be called once for each key encountered in the
traversal. This method may return false to stop
traversing additional keys.
The implementation of this method:
Buffer,
Key and Value
fields of the supplied ReadOnlyExchange. Note, however,
that modifying the Key affects the results of subsequent
traversal operations.
ex - a ReadOnlyExchange from which the current
Key and Value may be readtrue to continue traversing keys, or
false to stopPersistitExceptionCopyright © 2025 Open Identity Platform Community. All rights reserved.