TransitionalCollectionOps

Temporary extension methods for cross-building to Scala 2.12 and 2.13.

class Object
trait Matchable
class Any

Type members

Classlikes

case class JIteratorWrapper[A](underlying: Iterator[A]) extends AbstractIterator[A] with Iterator[A]

Simple utility to avoid having either a dependency to scala-compat or a warning with 2.13. There are very few places within Laika where we need to deal with a Java collection.

Simple utility to avoid having either a dependency to scala-compat or a warning with 2.13. There are very few places within Laika where we need to deal with a Java collection.

final implicit class TransitionalMapOps[K, V](val map: Map[K, V]) extends AnyVal
case class Zip3Iterator[A, B, C](as: Iterable[A], bs: Iterable[B], cs: Iterable[C]) extends Iterator[(A, B, C)]

Temporary replacement for the deprecated Tuple3.zipped method, to be replaced by xs.lazyZip(ys).lazyZip(zs) once support for 2.12 is dropped.

Temporary replacement for the deprecated Tuple3.zipped method, to be replaced by xs.lazyZip(ys).lazyZip(zs) once support for 2.12 is dropped.

Implicits

Implicits

final implicit def TransitionalMapOps[K, V](map: Map[K, V]): TransitionalMapOps[K, V]