Results 1 to 2 of 2
- 11-02-2010, 09:23 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 3
- Rep Power
- 0
problem import text and conbined with ArrayList
Hi... I am new to java and I want some help.
I want to join a text file with an ArrayList. I have the code that read line for line the text and saves it in the buffer.
In the text there are two parts ("label" and "definition") it's a glossary. The program that I run now is reading the term and give me as feedback the definition from ArrayList. label and definition sometimes are more than one word.
I would like to tell me what is the simplest solution while I type the label the to give me the definition.Last edited by chmo; 11-02-2010 at 09:44 PM.
- 11-02-2010, 10:52 PM #2
Sounds like you want to use a map Map (Java 2 Platform SE v1.4.2) (you may want to use google for a tutorial)
Similar Threads
-
import problem
By anki.gulsvart in forum NetworkingReplies: 9Last Post: 10-16-2009, 07:03 PM -
Import java.io.* problem
By DD70 in forum New To JavaReplies: 3Last Post: 07-28-2009, 10:45 PM -
Storing data from text file in ArrayList
By tjhodge in forum New To JavaReplies: 1Last Post: 02-12-2009, 01:22 PM -
[SOLVED] Writing ArrayList to Text File on seperate Lines
By shinjitsunohana in forum New To JavaReplies: 9Last Post: 08-27-2008, 05:53 PM -
how do i write to a text file from an arraylist?
By otoro_java in forum New To JavaReplies: 3Last Post: 01-30-2008, 06:53 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks