Class/Object

com.nthportal.versions.v2

Version

Related Docs: object Version | package v2

Permalink

case class Version(major: Int, minor: Int) extends VersionBase[Version, ExtendedVersion] with Product with Serializable

A version of the form major.minor (such as, for example, 1.3).

major

the major version number

minor

the minor version number

Linear Supertypes
Serializable, Serializable, Product, Equals, VersionBase[Version, ExtendedVersion], Dash[Version, ExtendedVersion], Ordered[Version], Comparable[Version], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Version
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. VersionBase
  7. Dash
  8. Ordered
  9. Comparable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Version(major: Int, minor: Int)

    Permalink

    major

    the major version number

    minor

    the minor version number

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def --[E](extension: E)(implicit ed: ExtensionDef[E]): ExtendedVersion[E]

    Permalink

    Definition Classes
    Dash
    See also

    dash

  4. def <(that: Version): Boolean

    Permalink
    Definition Classes
    Ordered
  5. def <=(that: Version): Boolean

    Permalink
    Definition Classes
    Ordered
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. def >(that: Version): Boolean

    Permalink
    Definition Classes
    Ordered
  8. def >=(that: Version): Boolean

    Permalink
    Definition Classes
    Ordered
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compare(that: Version): Int

    Permalink
    Definition Classes
    VersionBase → Ordered
  12. def compareTo(that: Version): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  13. def dash[E](extension: E)(implicit ed: ExtensionDef[E]): ExtendedVersion[E]

    Permalink

    Creates an extended version from this version with the specified extension.

    Creates an extended version from this version with the specified extension.

    E

    the type of the extension

    extension

    the extension for the ExtendedVersion

    ed

    the extension definition

    returns

    an extended version with this version and the specified extension

    Definition Classes
    VersionBase → Dash
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val major: Int

    Permalink

    the major version number

  19. val minor: Int

    Permalink

    the minor version number

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    Version → AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from VersionBase[Version, ExtendedVersion]

Inherited from Dash[Version, ExtendedVersion]

Inherited from Ordered[Version]

Inherited from Comparable[Version]

Inherited from AnyRef

Inherited from Any

Ungrouped