I have an ArrayList that I\'d like to return a copy of. ArrayList has a clone method which has the following signature:
ArrayList
If you want this in order to be able to return the List in a getter it would be better to do:
ImmutableList.copyOf(list);