Class ByteTrieOfOneSingleByte
- java.lang.Object
-
- ch.randelshofer.fastdoubleparser.bte.ByteTrieOfOneSingleByte
-
-
Field Summary
Fields Modifier and Type Field Description private bytech
-
Constructor Summary
Constructors Constructor Description ByteTrieOfOneSingleByte(byte ch)ByteTrieOfOneSingleByte(java.util.Set<java.lang.String> set)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intmatch(byte[] str)Searches for the longest matching string in the trie that matches the provided string.intmatch(byte[] 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(byte[] str)
Description copied from interface:ByteTrieSearches for the longest matching string in the trie that matches the provided string.
-
match
public int match(byte[] str, int startIndex, int endIndex)Description copied from interface:ByteTrieSearches for the longest matching string in the trie that matches the provided string.
-
-