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
See jp.ujihara.jsharp.collections.JavaEnumeration class. You can find the many codes to convert java.util.Enumeration instance to Iterator one.
I needed the other direction - new Iterator(IEnumerable). I added a class to do this and uploaded it to tracker here.
Log in to post a comment.
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
See jp.ujihara.jsharp.collections.JavaEnumeration
class. You can find the many codes to convert java.util.Enumeration instance to Iterator one.
Hi;
I needed the other direction - new Iterator(IEnumerable). I added a class to do this and uploaded it to tracker here.
thanks - dave