If I have a collection, such as Collection strs, how can I get the first item out? I could just call an Iterator, take its first
Collection strs
Iterator
It sounds like your Collection wants to be List-like, so I'd suggest:
List myList = new ArrayList(); ... String first = myList.get(0);