public static scala . collection . Iterable linkedListToScalaIterable ( LinkedList < ? > linkedList ) { return JavaConverters . asScalaIterableConverter ( linkedList ) . asScala ( ) ; }
Convert a Java LinkedList to a Scala Iterable .