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 Type
    Method
    Description
    boolean
    handlePrefixMatch(int matchLength, Iterator<V> values)
    Handles a prefix key match
  • Method Details

    • handlePrefixMatch

      boolean handlePrefixMatch(int matchLength, Iterator<V> values)
      Handles a prefix key match
      Parameters:
      matchLength - Matched key's length
      values - An iterator of the objects associated with the matched key
      Returns:
      Return true to continue the search in the trie, false to quit.