Data Sorting in a .data file using java
I have a .data file (called trial.data) that has around 100,000 values listed in it. I would like to be able to use some form of filereader programme in java that does 3 things with the data:
1. It ignores all values above a certain value, the value is 40,000;
2. Out of the values below 40,000 the programme should group them into 10 different groups (i.e. <2k, <4k,...., <20k);
3. It displays the data after the filtering and categorising.
I am quite new to java so my knowledge is not the best but it would be great if someone could help me out. Don't fancy using Excel for this, far too many values.