Preamble: I am aware of using a list or other collections to return a result but then I have to go through the list plucking the results out: see 2nd example
Preambl
You can use any of the Collection class for this purpose. This Lesson may help you in deciding what is best suited for you.