public double get(int index) {
   synchronized (mutex) {
     return list.get(index);
   }
 }