You can probably find more information by visiting the Java API documentation site. I think I used .size() method in LinkedList today and it worked great. Just keep tweaking around if you still need...