Collections is a tool class for operating List, Map, Set and other collections
Synchronous control
The collections class provides multiple synchronizedXxx() methods, which can wrap the collection into a thread-safe synchronized collection to solve the thread safety problem when multiple threads concurrently access the collection