Converts a Scala Iterator to a Java Iterator, see scala.jdk.javaapi.CollectionConverters.asJava.
Iterator
scala.jdk.javaapi.CollectionConverters.asJava
Converts a Scala Iterator to a Java Enumeration, see scala.jdk.javaapi.CollectionConverters.asJavaEnumeration.
Enumeration
scala.jdk.javaapi.CollectionConverters.asJavaEnumeration