public TDoubleList grep(TDoubleProcedure condition) { synchronized (mutex) { return list.grep(condition); } }