Package com.ibm.icu.impl
Interface TextTrieMap.ResultHandler<V>
- All Known Implementing Classes:
Currency.CurrencyNameResultHandler
,TextTrieMap.LongestMatchHandler
,TimeZoneGenericNames.GenericNameSearchHandler
,TimeZoneNamesImpl.NameSearchHandler
,TZDBTimeZoneNames.TZDBNameSearchHandler
- Enclosing class:
TextTrieMap<V>
public static interface TextTrieMap.ResultHandler<V>
Callback handler for processing prefix matches used by
find method.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handlePrefixMatch
(int matchLength, Iterator<V> values) Handles a prefix key match
-
Method Details
-
handlePrefixMatch
Handles a prefix key match- Parameters:
matchLength
- Matched key's lengthvalues
- An iterator of the objects associated with the matched key- Returns:
- Return true to continue the search in the trie, false to quit.
-