public void fill(int fromIndex, int toIndex, double val) {
   synchronized (mutex) {
     list.fill(fromIndex, toIndex, val);
   }
 }
 public void fill(double val) {
   synchronized (mutex) {
     list.fill(val);
   }
 }