Package

org.clapper.classutil

ScalaCompat

Permalink

package ScalaCompat

Compatibility definitions for Scala 2.13+ vs. Scala 2.12 and lesser. This object is conceptually similar to scala.collection.compat.

- For Scala 2.12 and earlier, it provides a type alias and compatibility functions for LazyList. For Scala 2.13 and greater, it's empty. Thus, all code can use LazyList throughout. - It also provides the implicit objects Ordering objects for floats and doubles. For instance, it provides grizzled.ScalaCompat.math.Ordering.Double.IeeeOrdering and grizzled.ScalaCompat.math.Ordering.Double.IeeeOrdering. For Scala 2.12 and earlier, these values are aliases for scala.math.Ordering.Double. For Scala 2.13 and greater, they map to their 2.13 counterparts (e.g., scala.math.Ordering.Double.IeeeOrdering).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaCompat
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type LazyList[+T] = Stream[T]

    Permalink

Value Members

  1. val CollectionConverters: DecorateAsJava with DecorateAsScala

    Permalink
  2. object LazyList extends Serializable

    Permalink
  3. object math

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped