Converts a Scala Iterable to a Java Iterable, see scala.jdk.javaapi.CollectionConverters.asJava.
Iterable
scala.jdk.javaapi.CollectionConverters.asJava
Converts a Scala Iterator to a Java Collection, see scala.jdk.javaapi.CollectionConverters.asJavaCollection.
Iterator
Collection
scala.jdk.javaapi.CollectionConverters.asJavaCollection