Scala Compiler2.13.0 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package settings
  Definition Classes
    nsc
- AbsScalaSettings
- AbsSettings
- AnyScalaVersion
- Development
- Final
- Milestone
- MutableSettings
- NoScalaVersion
- RC
- ScalaBuild
- ScalaSettings
- ScalaVersion
- SpecificScalaVersion
- StandardScalaSettings
- Warnings

c

scala.tools.nsc.settings

# SpecificScalaVersion

###

#### case class SpecificScalaVersion(major: Int, minor: Int, rev: Int, build: ScalaBuild) extends ScalaVersion with Product with Serializable

A specific Scala version, not one of the magic min/max versions. An SpecificScalaVersion may or may not be a released version - i.e. this same class is used to represent final, release candidate, milestone, and development builds. The build argument is used to segregate builds

Source
  ScalaVersion.scala

Linear Supertypes
java.io.Serializable, Product, Equals, ScalaVersion, math.Ordered[ScalaVersion], Comparable[ScalaVersion], AnyRef, Any
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. SpecificScalaVersion
2. Serializable
3. Product
4. Equals
5. ScalaVersion
6. Ordered
7. Comparable
8. AnyRef
9. Any

Implicitly

1. by orderingToOrdered
2. by any2stringadd
3. by StringFormat
4. by Ensuring
5. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new SpecificScalaVersion(major: Int, minor: Int, rev: Int, build: ScalaBuild)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion toany2stringadd[SpecificScalaVersion] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (SpecificScalaVersion, B)
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion toArrowAssoc[SpecificScalaVersion] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  def <(that: ScalaVersion): Boolean
   Definition Classes
     Ordered
6.  def <=(that: ScalaVersion): Boolean
   Definition Classes
     Ordered
7.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
8.  def >(that: ScalaVersion): Boolean
   Definition Classes
     Ordered
9.  def >=(that: ScalaVersion): Boolean
   Definition Classes
     Ordered
10.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
11.  val build: ScalaBuild
12.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.CloneNotSupportedException]) @native()
13.  def compare(that: ScalaVersion): Int
    Definition Classes
      SpecificScalaVersion → Ordered
14.  def compareTo(that: ScalaVersion): Int
    Definition Classes
      Ordered → Comparable
15.  def ensuring(cond: (SpecificScalaVersion) => Boolean, msg: => Any): SpecificScalaVersion
    Implicit
      This member is added by an implicit conversion from SpecificScalaVersion toEnsuring[SpecificScalaVersion] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: (SpecificScalaVersion) => Boolean): SpecificScalaVersion
    Implicit
      This member is added by an implicit conversion from SpecificScalaVersion toEnsuring[SpecificScalaVersion] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  def ensuring(cond: Boolean, msg: => Any): SpecificScalaVersion
    Implicit
      This member is added by an implicit conversion from SpecificScalaVersion toEnsuring[SpecificScalaVersion] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
18.  def ensuring(cond: Boolean): SpecificScalaVersion
    Implicit
      This member is added by an implicit conversion from SpecificScalaVersion toEnsuring[SpecificScalaVersion] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
19.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
21.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from SpecificScalaVersion toStringFormat[SpecificScalaVersion] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
22.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
23.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
24.  val major: Int
25.  val minor: Int
26.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
27.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
28.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
29.  def productElementNames: Iterator[String]
    Definition Classes
      Product
30.  val rev: Int
31.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
32.  def unparse: String
    Definition Classes
      SpecificScalaVersion → ScalaVersion
33.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
34.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
35.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Shadowed Implicit Value Members

1.  def <(that: SpecificScalaVersion): Boolean
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion tomath.Ordered[SpecificScalaVersion] performed by method orderingToOrdered in scala.math.Ordered.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (specificScalaVersion: math.Ordered[SpecificScalaVersion]).<(that)

   Definition Classes
     Ordered
2.  def <=(that: SpecificScalaVersion): Boolean
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion tomath.Ordered[SpecificScalaVersion] performed by method orderingToOrdered in scala.math.Ordered.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (specificScalaVersion: math.Ordered[SpecificScalaVersion]).<=(that)

   Definition Classes
     Ordered
3.  def >(that: SpecificScalaVersion): Boolean
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion tomath.Ordered[SpecificScalaVersion] performed by method orderingToOrdered in scala.math.Ordered.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (specificScalaVersion: math.Ordered[SpecificScalaVersion]).>(that)

   Definition Classes
     Ordered
4.  def >=(that: SpecificScalaVersion): Boolean
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion tomath.Ordered[SpecificScalaVersion] performed by method orderingToOrdered in scala.math.Ordered.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (specificScalaVersion: math.Ordered[SpecificScalaVersion]).>=(that)

   Definition Classes
     Ordered
5.  def compare(that: SpecificScalaVersion): Int
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion tomath.Ordered[SpecificScalaVersion] performed by method orderingToOrdered in scala.math.Ordered.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (specificScalaVersion: math.Ordered[SpecificScalaVersion]).compare(that)

   Definition Classes
     Ordered
6.  def compareTo(that: SpecificScalaVersion): Int
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion tomath.Ordered[SpecificScalaVersion] performed by method orderingToOrdered in scala.math.Ordered.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (specificScalaVersion: math.Ordered[SpecificScalaVersion]).compareTo(that)

   Definition Classes
     Ordered → Comparable

### Deprecated Value Members

1.  def →[B](y: B): (SpecificScalaVersion, B)
   Implicit
     This member is added by an implicit conversion from SpecificScalaVersion toArrowAssoc[SpecificScalaVersion] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from java.io.Serializable

### Inherited from Product

### Inherited from Equals

### Inherited from ScalaVersion

### Inherited from math.Ordered[ScalaVersion]

### Inherited from Comparable[ScalaVersion]

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion orderingToOrdered fromSpecificScalaVersion to math.Ordered[SpecificScalaVersion]

### Inherited by implicit conversion any2stringadd fromSpecificScalaVersion to any2stringadd[SpecificScalaVersion]

### Inherited by implicit conversion StringFormat fromSpecificScalaVersion to StringFormat[SpecificScalaVersion]

### Inherited by implicit conversion Ensuring fromSpecificScalaVersion to Ensuring[SpecificScalaVersion]

### Inherited by implicit conversion ArrowAssoc fromSpecificScalaVersion to ArrowAssoc[SpecificScalaVersion]

### Ungrouped