helen mac wrote:thanks, I dont understand how i add items to this collection?
helen mac wrote:im passing in the following to the method, my aim is to pass in more than one collection of possibly varying types and then sort them using the passed in comparator
helen mac wrote:
Exception in thread "main" java.lang.ClassCastException: java.util.ArrayList$Itr cannot be cast to java.util.ArrayList
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton