Joke Collection Website - Public benefit messages - Is the map in Java a linear structure?

Is the map in Java a linear structure?

map is not a linear structure. The commonly used linear structures are: linear table, stack, queue, double queue, array and string.

linear structure in data structure refers to a data structure with a "one-to-one" linear relationship between data elements. Such as (a1, a2, a3, ..., an), where a1 is the first element and an is the last element, this set is a set of linear structures.

the Map set uses storage element pairs (key-value pairs) to store elements, and each key is mapped to a value. There is no last element, and there are no predecessors and successors, so it is nonlinear.