All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.scalafmt.CompatCollections.scala Maven / Gradle / Ivy

The newest version!
package org.scalafmt

object CompatCollections {
  val JavaConverters = scala.jdk.CollectionConverters

  // Parallel collections are not released yet for Scala Native:
  // https://github.com/scala/scala-parallel-collections/issues/262
  // Once that releases, this should be able to be removed
  object ParConverters {
    implicit class XtensionIterable[T](val col: Iterable[T]) extends AnyVal {
      def compatPar = col
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy