I want to store several items, each with a specific set of attributes (Strings as well as Numbers), using Java.
In Python, I would do this in a list:
[item1 [attribute1, attribute2, attribute3 ...], item2 [attribute1, attribute2,..]].
The Lists, maps, Dictionaries in Java seem to be unuseful, as you can only store "at most one value", Arrays seem to be the most promising, but they con only contain values of one type - yet I need to store both Strings and Numbers. Is it possible to store data in Java in a similar way like in Python?