File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Iterator<String> problem

Vatsa dude
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a client calling code like this:

Requirement - Return a single Iterator<String> that chains together the array of Iterator<String>s in the order that
they are provided, but skips {@code null} values.

actual method implmentation of iterateStrings

How do I copy the stringIterators to a LIst. I thought of doing that, then in a for loop, removing the null values and returning the Iterator<String>..Please advice.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic