As I was advised by PMD, I want to reduce coopling by using interfaces instead of implementation ...
In this case, knowing that I need a cloneable param, can I overcome the clone Dilemma (no clone()
method in the Cloneable
interface) ??
public MyConstructor(ArrayList<E> myParam) {
this.myAttribute = (ArrayList<E>) myParam.clone();
}