I want to read a big text file

Posted by Rozer on Stack Overflow See other posts from Stack Overflow or by Rozer
Published on 2010-06-11T11:22:15Z Indexed on 2010/06/11 11:32 UTC
Read the original article Hit count: 151

Filed under:

I want to read a big text file, what i decided to create four threads and read 25% of file by each one. and then join them.

but its not more impressive. can any one tell me can i use concurrent programming for the same. as my file structure have some data as name contact compnay policyname policynumber uniqueno

and I want to put all data in hashmap at last.

thanks

© Stack Overflow or respective owner

Related posts about java