LinkedList Problems (trimming or something)
Hey all, i am pleased to say that I think i have a better understanding of how java works now but i have run into a problem when using linked list. I want to make a list full of objects and when i make a call directly to the list eg list.add(object) everything is fine and i can add as many objects as i want, however when i create a method to do this (for encapsulation purposes) it only lets me add three objects to the list then stops adding more even if i call the method again.:confused:
If anyone knows whats happening i would really appreciate some advice thanks