title: How to get the list elements using list inside another list in java
body: <p>I have a list like this
  List contains set of dtime,uptime values.I want to get the list items i.e., dtime into one and 
  uptime into another variable.Likewise I want to get all the dtime and uptime pair values seperatly into 
  the variables using for loop in java.How can I achieve this.Is it possible list or vector?Please help me.
      Pseudo code</p>
  
  <pre><code>List.get(0).get(0)--&gt;gives 1st dtime
  List.get(0).get(1)--&gt;gives 1st uptime
  
  List.get(1).get(0)--&gt;gives 2nd dtime
  List.get(1).get(1)--&gt;gives 2nd uptime
  </code></pre>
  
  <p>And so on..</p>
  
  <p>How to implement this with for loop I am not getting.I am new to java>please help me..</p>