examples of using java collections ( from the box )