Java Fixed-Length Flat-File binary search and retrieve(repost)

Completed Posted May 13, 2010 Paid on delivery
Completed Paid on delivery

I need to access a file with fixed size records containing fixed size fields. The file is sorted by the key field (which is unique). I want to do a binary search of the file to quickly find the record needed. It would be best to provide an external comparison function via some sort of inversion of control (injection). Easy enough so far.

This Java code must work inside of a Rhino JavaScript program, and the file will be on the same server with this JavaScript/Java code. So this is server side code accessing a file on the same server. I'm a little unsure about where best to store this file with respect to permissions and the like, so I may need a little bit of assistance setting it up to run correctly.

I found a library JRecord that looks like it's a good start on this, but it doesn't have the binary search. I also don't know if JRecord will run in the Rhino context.

I will provide the file after the bid is placed, it's nothing special.

Engineering Java JavaScript Linux Microsoft MySQL PHP Project Management Software Architecture Software Testing Windows Desktop

Project ID: #3424249

About the project

5 proposals Remote project Active Jun 4, 2010

Awarded to:

viktorpodzigun

See private message.

$7 USD in 5 days
(6 Reviews)
2.9

5 freelancers are bidding on average $29 for this job

parthsanaja

See private message.

$38.25 USD in 5 days
(6 Reviews)
3.4
ayashachen

See private message.

$37.4 USD in 5 days
(12 Reviews)
2.6
ahmadelsafty

See private message.

$25.5 USD in 5 days
(0 Reviews)
0.0
melhorinfo

See private message.

$38.25 USD in 5 days
(5 Reviews)
0.0