public double max() {
   synchronized (mutex) {
     return list.max();
   }
 }