Read the 30Million user id's one by one from the big file
I am trying to read a very big file using Java. That big file will have data like this, meaning each line will have an user id. 149905320 1165665384 66969324 886633368 1145241312 286585320 1008665352 And in that big file there will be around 30Million user id's. Now I am trying to read all the user id's one by one from that big file only once. Meaning each user id should be selected only once from that big file. For example, if I have 30Million user id's then it should print 30 Million user id only once with the use of Multithreading code. Below is the code I have which is a multithreaded code