Java - Help solving application problem
<p>I have a class that creates objects from another class, reading the necessary data from a file. Basically, it's a <code>thread</code> that loads the data and adds to a <code>queue</code>. The data it loads is a String and an Integer per time. The problem is that the app will have 2 of those classes, so 2 threads reading from one file and addin on a queue.
I'm having a lot of problems with it, so how would be the best method I could do in order to make the 2 classes add objects in the queue?</p>

<p>Thanks!</p>
