title: How can we store List<String> values in an Iterator like Iterator<List<String>>?
body: <p>I need to store the values coming from a loop within a <code>Iterator&lt;List&lt;String&gt;&gt;</code>.
  I tried a lot to find a way but couldn't find any.
  Providing you the code.</p>
  
  <pre><code>ListIterator&lt;List&lt;String&gt;&gt; itrr = null;
          for (int i = startLoop; i &lt;= endLoop; i++) {
              List&lt;String&gt; listOfString = new ArrayList&lt;&gt;();
              for (int j = startInnerLoop; j &lt;= endInnerLoop; j++) {
                  // for each cell we have to derive the row value as A1:A1
                  String address = Number2Column.execute(j) + i;
                  address += Constants.COLONSPLITTER + address;
                  listOfString.add(executor.getSingleCell(false, address).get().toString());
              }
              itrr.add(listOfString);
          }
  </code></pre>
  
  <p>Here for a sake of try i used ListIterator to add the Collection but can it be type casted to 
  <code>Iterator&lt;List&lt;String&gt;&gt;</code>?</p>