Results 1 to 3 of 3
- 10-07-2008, 11:59 PM #1
Member
- Join Date
- Oct 2008
- Location
- United Kingdom
- Posts
- 1
- Rep Power
- 0
Data Sorting in a .data file using java
Hey!
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.
- 10-08-2008, 12:59 AM #2
The way this works...
The way the forum works is that you provide your code/program and ask a specific question about a problem that you have with that code. As for reading a file from Java, there is tons of info on this forum and the internet. This is the first google that I found:
www,java-tips.org/java-se-tips/java.io/how-to-read-file-in-java.html
CJSL
- 10-08-2008, 02:52 AM #3
Similar Threads
-
data loss in the secure file transfer using java
By antony75 in forum NetworkingReplies: 4Last Post: 02-09-2009, 06:56 AM -
Accessing Data from a .txt file
By Oasis13 in forum New To JavaReplies: 5Last Post: 02-01-2008, 12:16 AM -
Data array to file
By Java Tip in forum Java TipReplies: 0Last Post: 01-16-2008, 10:42 AM -
Saving data in an XML file
By Thez in forum New To JavaReplies: 1Last Post: 12-08-2007, 09:24 PM -
Extracting data from an XML file...
By techno_brains in forum New To JavaReplies: 1Last Post: 07-15-2007, 05:46 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks