Interface Trie<T>

  • All Superinterfaces:
    java.util.Map<java.lang.CharSequence,​T>
    All Known Implementing Classes:
    HashTrie, Trie.TrieProxy, Trie.Unmodifiable

    public interface Trie<T>
    extends java.util.Map<java.lang.CharSequence,​T>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Trie.TrieProxy<T>  
      static class  Trie.Unmodifiable<T>  
      static class  Trie.Util  
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map.Entry<java.lang.CharSequence,​T> getLongestMatch​(java.io.PushbackReader keyIn)  
      java.util.Map.Entry<java.lang.CharSequence,​T> getLongestMatch​(java.lang.CharSequence key)  
      int getMaxKeyLength()  
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
    • Method Detail

      • getLongestMatch

        java.util.Map.Entry<java.lang.CharSequence,​T> getLongestMatch​(java.lang.CharSequence key)
      • getLongestMatch

        java.util.Map.Entry<java.lang.CharSequence,​T> getLongestMatch​(java.io.PushbackReader keyIn)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getMaxKeyLength

        int getMaxKeyLength()