posted 11 years ago
I have a question about Object arrayLists. I populated an arrayList with data and then wrote the ArrayList to disk using an ObjectOutputStream. I then repopulated the ArrayList using an ObjectInputStream but I am having trouble accessing this data and was wondering if anyone can help me out or point me in a general direction. I've tried using the ".indexOf(Object elem) method but it returned "-1" when I know the data is in there. I've already looked at all the information listed on the Java website and it didn't help at all. Thanks in advance for the help.