title: ArrayList.clear() vs ArrayList=null
body: <p>Which of these runs faster in java?
  Suppose I want to use an ArrayList multiple times but with different values, so is it better to use clear() method or setting the arraylist to null??</p>