|
-
Best data storage method
Hey, iv just got a simple problem what would be the best method for storing this type of data
list of words followed by a list of files the word is contained in e.g
"hello" ["a.txt","b.txt","c.txt"]
"ok" ["b.txt","d.txt"]
"yes" ["a.txt","b.txt"]
would i use hashset -hashmap or is it possible with arraylist
which i wish to add to this list when i find another word contained in a file so if the word is new then it gets added otherwise if i word contained in a file such as "ok" in "f.txt" it becomes
"hello" ["a.txt","b.txt","c.txt"]
"ok" ["b.txt","d.txt","f.txt"]
"yes" ["a.txt","b.txt"]
cheers in advance
Similar Threads
-
Replies: 0
Last Post: 02-20-2003, 11:43 PM
-
By Phil Weber in forum .NET
Replies: 67
Last Post: 12-15-2002, 01:37 AM
-
By Jim in forum Architecture and Design
Replies: 5
Last Post: 08-30-2002, 07:49 AM
-
By skrobism in forum VB Classic
Replies: 1
Last Post: 01-23-2001, 10:44 PM
-
By William Gaddam in forum VB Classic
Replies: 1
Last Post: 05-02-2000, 09:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks