Hi All,
I found the solution for the same.
I created own tree structure and store the keys in file as character by character.
And now the searching is very fast as compare to other...
Type: Posts; User: patilsn_jay
Hi All,
I found the solution for the same.
I created own tree structure and store the keys in file as character by character.
And now the searching is very fast as compare to other...
yes the search string can contains multiple tokens. And it's length can be of any size, so we have to split that search string and then search for the matching keys and return the url.
I have...
the search string we are searching in map is not a key only. It could be a string of multiple lines with one or more keys.
e. g. Search string :-
"The Longest rivers in the world is Nile and...
------------------------------------------------------------------------------------
Thanks for reply..
I checked with map searching is working fine. But because of some rule of searching I need...
Hi all,
I am having a file contains key and value pairs separated by space.
I want to read that text file and store into a data structure in java so that, If i want to search a key in file...