Results 1 to 2 of 2
- 03-27-2011, 01:37 PM #1
Member
- Join Date
- Aug 2008
- Posts
- 46
- Rep Power
- 0
how to store the instances of this file
I have a file with a list of mixed instances and I need to collect all instances in some java structure (I was wondering if I should use a List of lists for this):
File structure
ID, other content...
1, ...
3, ...
1, ...
2, ...
2, ...
3, ...
I need to store all rows starting with 1 in a List1, rows with 2 in List2 and so on..
all those lists should be in one single list so I can iterate among them.
I don't know in advance the amount of ids...
Is is a good approach ?
thanks
- 03-27-2011, 01:42 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
Store Text-file Into 2D Array
By benn22 in forum New To JavaReplies: 20Last Post: 03-09-2011, 09:17 PM -
How do I store images in a zip file in Java
By mglover in forum Advanced JavaReplies: 1Last Post: 06-11-2010, 03:53 PM -
store data into an array from a file
By chopo1980 in forum New To JavaReplies: 10Last Post: 11-13-2009, 09:48 AM -
How to store property file into key value pair
By Java Tip in forum java.utilReplies: 0Last Post: 04-05-2008, 10:16 AM -
store file
By kazitula in forum Java AppletsReplies: 0Last Post: 02-17-2008, 09:45 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks