Class PatriciaTrieUtils

java.lang.Object
org.aksw.commons.utils.trie.PatriciaTrieUtils

public class PatriciaTrieUtils extends Object
  • Constructor Details

    • PatriciaTrieUtils

      public PatriciaTrieUtils()
  • Method Details

    • longestPrefixOf

      public static String longestPrefixOf(org.apache.commons.collections4.trie.PatriciaTrie<?> prefixMap, String value)
      Returns the longest key in the trie that is a prefix of `value`, or null if none.