Menu

Iterator(IEnumerable) ???

2005-10-04
2013-05-01
  • David Thielen

    David Thielen - 2005-10-04

    Hi;

    There is JavaEnumeration to turn an IEnumerable into a Enumeration. But is there a way to turn an IEnumeration into an Iterator?

    thanks - dave

     
    • Kazuya Ujihara

      Kazuya Ujihara - 2005-10-09

      See jp.ujihara.jsharp.collections.JavaEnumeration
      class. You can find the many codes to convert java.util.Enumeration instance to Iterator one.

       
    • David Thielen

      David Thielen - 2005-10-09

      Hi;

      I needed the other direction - new Iterator(IEnumerable). I added a class to do this and uploaded it to tracker here.

      thanks - dave

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.