Stored in the map is a name-value pair. The name is the index of the element, and the value can only be obtained by the name. Get (object key). Don't try to take out a and b at the same time. A and b have a mapping relationship. You should take A as the index of B.