Answer the question
In order to leave comments, you need to log in
What is the simplest entity to use to store a key-value array in Java?
I extract data from the database ["measurement channel" - "measurement date" - "measurement value"].
Nothing better comes to mind, except for an ArrayList of several HashMap by the number of channels in the form
Map<timestamp, float> mapValuesChannelOne = new HashMap<>();
Answer the question
In order to leave comments, you need to log in
What's wrong with the hashmap list? In theory, there is nothing more optimal to do ... except to abandon lists in favor of arrays.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question