Multithreading dynamic mass participation issues

Problem: As shown in the figure below shows, we think of the dynamic parameters i transmission to the interior threads of execution, syntax errors, suggesting lambda expression should be final

 

Solution: With map-parameters

 

 

Guess you like

Origin www.cnblogs.com/wwzyy/p/12303326.html