Class CharTrieOfOneSingleChar
java.lang.Object
ch.randelshofer.fastdoubleparser.chr.CharTrieOfOneSingleChar
- All Implemented Interfaces:
CharTrie
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintmatch(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(CharSequence str, int startIndex, int endIndex) Searches for the longest matching string in the trie that matches the provided string.
-
Field Details
-
ch
private final char ch
-
-
Constructor Details
-
CharTrieOfOneSingleChar
-
CharTrieOfOneSingleChar
public CharTrieOfOneSingleChar(char ch)
-
-
Method Details
-
match
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.
-