title: how to store value into arraylist with some specific index in java
body: <p>I have value list such as</p>
  <blockquote>
  <p><strong>0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12</strong></p>
  </blockquote>
  <p>and I want to store it into <code>ArrayList</code> with specific index like this</p>
  <blockquote>
  <p><strong>0.1, 0.2, 0.3, == Index 1</strong></p>
  <p><strong>0.4, 0.5, 0.6, == Index 2</strong></p>
  <p><strong>0.7, 0.8, 0.9, == Index 3</strong></p>
  <p><strong>0.10, 0.11, 0.12, == Index 4</strong></p>
  </blockquote>
  <p>Thanks</p>