ScalaVersion

dotty.tools.dotc.config.ScalaVersion
See theScalaVersion companion object
sealed abstract class ScalaVersion extends Ordered[ScalaVersion]

Represents a single Scala version in a manner that supports easy comparison and sorting.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

Inherited methods

Returns true if this is less than that

Returns true if this is less than that

Attributes

Inherited from:
Ordered

Returns true if this is less than or equal to that.

Returns true if this is less than or equal to that.

Attributes

Inherited from:
Ordered

Returns true if this is greater than that.

Returns true if this is greater than that.

Attributes

Inherited from:
Ordered

Returns true if this is greater than or equal to that.

Returns true if this is greater than or equal to that.

Attributes

Inherited from:
Ordered

Result of comparing this with operand that.

Result of comparing this with operand that.

Attributes

Inherited from:
Ordered

Inherited and Abstract methods

Result of comparing this with operand that.

Result of comparing this with operand that.

Implement this method to determine how instances of A will be sorted.

Returns x where:

  • x < 0 when this < that

  • x == 0 when this == that

  • x > 0 when this > that

Attributes

Inherited from:
Ordered