- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
scala.collection.jcl.Conversions suggestion
Sat, 2008-12-20, 18:29
Hi,
Since we are already providing convenient converters, can we add java.util.Enumeration<T> and java.util.Iterator<T> to the Converstions implicit list? I find this useful when working with java libraries.
Also while we are on the topic, is there reason why scala.collection.jcl.IterableWrapper accepts java.util.Collection as underlying object and not the java.util.Iterable as the class name suggested? This is confusing to user.
Thanks,
Zemian
--
http://www.jroller.com/thebugslayer
Since we are already providing convenient converters, can we add java.util.Enumeration<T> and java.util.Iterator<T> to the Converstions implicit list? I find this useful when working with java libraries.
Also while we are on the topic, is there reason why scala.collection.jcl.IterableWrapper accepts java.util.Collection as underlying object and not the java.util.Iterable as the class name suggested? This is confusing to user.
Thanks,
Zemian
--
http://www.jroller.com/thebugslayer
2008/12/20 Zemian Deng <thebugslayer@gmail.com>