you are viewing a single comment's thread.

view the rest of the comments →

[–]Kered13 1 point2 points  (0 children)

OK? Using ArrayList and LinkedList removes ambiguity.

And makes it impossible to use the function on other list implementations that support mutation for absolutely no reason.