Class CharTrieOfOne
- java.lang.Object
-
- ch.randelshofer.fastdoubleparser.chr.CharTrieOfOne
-
-
Field Summary
Fields Modifier and Type Field Description private char[]chars
-
Constructor Summary
Constructors Constructor Description CharTrieOfOne(char[] chars)CharTrieOfOne(java.util.Set<java.lang.String> set)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intmatch(char[] str)Searches for the longest matching string in the trie that matches the provided string.intmatch(char[] str, int startIndex, int endIndex)Searches for the longest matching string in the trie that matches the provided string.intmatch(java.lang.CharSequence str)Searches for the longest matching string in the trie that matches the provided string.intmatch(java.lang.CharSequence str, int startIndex, int endIndex)Searches for the longest matching string in the trie that matches the provided string.
-
-
-
Method Detail
-
match
public int match(java.lang.CharSequence str)
Description copied from interface:CharTrieSearches for the longest matching string in the trie that matches the provided string.
-
match
public int match(java.lang.CharSequence str, int startIndex, int endIndex)Description copied from interface:CharTrieSearches for the longest matching string in the trie that matches the provided string.
-
match
public int match(char[] str)
Description copied from interface:CharTrieSearches for the longest matching string in the trie that matches the provided string.
-
match
public int match(char[] str, int startIndex, int endIndex)Description copied from interface:CharTrieSearches for the longest matching string in the trie that matches the provided string.
-
-