title: Best data structure to hold large amounts of data?
body: <p>Reading in a lot of data from a file. There may be 100 different data objects with necessary headings, but there can be well over 300,000 values stored in each of these data objects. The values need to be stored in the same order that they are read in. This is the constructor for the data object:</p>
  
  <pre><code>public Data(String heading, ArrayList&lt;Float&gt; values) {
      this.heading = heading;
      this.values = values;
  }
  </code></pre>
  
  <p>What would be the quickest way to store and retrieve these values sequentially  in RAM?</p>