Howdy!
The problem lies here:
processList's method declaration states that it will return an
ArrayList<TestArrayList>
but you tried to return an array list of unknown.
This is not possible.
Either change the return type to <? super TestArrayList> or the paramter type to
processList(ArrayList<TestArrayList> input) { ...
By the way, Louie,
I repaired the indenting of your original posting for the sake of readability.
Service of the house, you are a new rancher.
Welcome to the Ranch!
To indent your code properly by yourself:
At the posting page, mark the part of your posting that should be indented. Usually that will be your code (or some tabellaric output).
Hit the
![]()
- Button below.
that's it!
Yours,
Bu.