Thanks Ulf for your reply.What I wanted to know was if there were certain theoretical concepts to be understood to implement the search technique.For eg I know that binary search is one technique.I was wondering if there is any other technique available.
You can also use a basic linear search. In fact, you need to use these in situations where your data has no order. But AFAIK binary search is the best algorithm for situations where the data is sorted.
You should look at the JavaDocs for the Java "Collections" API in the java.util package. There you will find all sorts of standard library support for sorting and searching. The Jakarta commons project has extended that base with a variety of special purpose collections. You will have to get more specific about what you are searching if you want more detailed discussion. Bill
Joined: Aug 01, 2005
Thanks guys for your responses.
subject: Different kinds of Search mechanisms using Java