K - The type of the key.V - The type of the value.public static interface KeyMap.TraversalEvaluator<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
keyDone()
Called when the traversal for the current key is complete.
|
void |
nextValue(V value)
Called for each value found for the current key.
|
void |
startNewKey(K key)
Called whenever the traversal starts with a new key.
|
void startNewKey(K key) throws Exception
key - The key traversed.Exception - Method forwards all exceptions.void nextValue(V value) throws Exception
value - The next value.Exception - Method forwards all exceptions.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.