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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
handlePrefixMatch(int matchLength, java.util.Iterator<V> values)
Handles a prefix key match
-
-
-
Method Detail
-
handlePrefixMatch
boolean handlePrefixMatch(int matchLength, java.util.Iterator<V> values)
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.
-
-