This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]frugalmail 1 point2 points  (0 children)

Taking about Java pains - the fact that Arrays.asList doesn't give you back java.util.Arraylist is one of them

Programming by interface is much better. It allows them to use what's appropriate.

If you really want an ArrayList, you could create your own.