Difference between List and Map

List is a collection that stores single-column data, Map is a collection that stores two-column data such as keys and values,

The data stored in the List is in order, and repetition is allowed;

The data stored in the Map has no order, the keys cannot be repeated, and the values ​​can be repeated.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325873071&siteId=291194637