Packages

final case class Version(name: String) extends AnyVal with Ordered[Version] with Product with Serializable

Version represents a string name that may look like a version, its main feature provides a nice human sorting rather than full string bases sorting

Source
version.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Version
  2. Serializable
  3. Product
  4. Equals
  5. Ordered
  6. Comparable
  7. AnyVal
  8. Any
Implicitly
  1. by orderingToOrdered
  2. by richDrxAny
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Version(name: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def *(alt: String): Version
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Version toany2stringadd[Version] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (Version, B)
    Implicit
    This member is added by an implicit conversion from Version toArrowAssoc[Version] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def /(minor: String): Version
  7. def /(minor: Int): Version
  8. def <(that: Version): Boolean
    Definition Classes
    Ordered
  9. def <=(that: Version): Boolean
    Definition Classes
    Ordered
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  11. def >(that: Version): Boolean
    Definition Classes
    Ordered
  12. def >=(that: Version): Boolean
    Definition Classes
    Ordered
  13. def applyIf(t: Boolean, f: (Version) => Version): Version
    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  14. def applyIf(t: (Version) => Boolean)(f: (Version) => Version): Version

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def compare(that: Version): Int
    Definition Classes
    Version → Ordered
  17. def compareTo(that: Version): Int
    Definition Classes
    Ordered → Comparable
  18. def elementOf(xs: Set[Version]): Boolean
    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  19. def ensuring(cond: (Version) => Boolean, msg: => Any): Version
    Implicit
    This member is added by an implicit conversion from Version toEnsuring[Version] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (Version) => Boolean): Version
    Implicit
    This member is added by an implicit conversion from Version toEnsuring[Version] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: => Any): Version
    Implicit
    This member is added by an implicit conversion from Version toEnsuring[Version] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): Version
    Implicit
    This member is added by an implicit conversion from Version toEnsuring[Version] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Version toStringFormat[Version] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  25. def isDigit(s: String): Boolean
  26. def isFinal: Boolean
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isIntermediate: Boolean
  29. def isSnapshot: Boolean
  30. val name: String
  31. def noneIf(f: (Version) => Boolean): Option[Version]
    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  32. def optionIf(f: (Version) => Boolean): Option[Version]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  33. def preApply[B](f: (Version) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. def sideEffect(f: (Version) => Unit): Version

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  36. def similar(that: Version, depth: Int): Boolean
  37. def someIf(f: (Version) => Boolean): Option[Version]
    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  38. def take(depth: Int): Version
  39. def terms: IndexedSeq[String]
  40. val thisAny: Version
    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def toString(): String
    Definition Classes
    Version → Any

Shadowed Implicit Value Members

  1. def <(that: Version): Boolean
    Implicit
    This member is added by an implicit conversion from Version toOrdered[Version] 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:
    (version: Ordered[Version]).<(that)
    Definition Classes
    Ordered
  2. def <=(that: Version): Boolean
    Implicit
    This member is added by an implicit conversion from Version toOrdered[Version] 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:
    (version: Ordered[Version]).<=(that)
    Definition Classes
    Ordered
  3. def >(that: Version): Boolean
    Implicit
    This member is added by an implicit conversion from Version toOrdered[Version] 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:
    (version: Ordered[Version]).>(that)
    Definition Classes
    Ordered
  4. def >=(that: Version): Boolean
    Implicit
    This member is added by an implicit conversion from Version toOrdered[Version] 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:
    (version: Ordered[Version]).>=(that)
    Definition Classes
    Ordered
  5. def compare(that: Version): Int
    Implicit
    This member is added by an implicit conversion from Version toOrdered[Version] 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:
    (version: Ordered[Version]).compare(that)
    Definition Classes
    Ordered
  6. def compareTo(that: Version): Int
    Implicit
    This member is added by an implicit conversion from Version toOrdered[Version] 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:
    (version: Ordered[Version]).compareTo(that)
    Definition Classes
    Ordered → Comparable

Deprecated Value Members

  1. def ?>(f: (Version) => Boolean): Option[Version]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def |>[B](f: (Version) => B): B
    Implicit
    This member is added by an implicit conversion from Version toDrxAny[Version] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  3. def [B](y: B): (Version, B)
    Implicit
    This member is added by an implicit conversion from Version toArrowAssoc[Version] 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[Version]

Inherited from Comparable[Version]

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion orderingToOrdered fromVersion to Ordered[Version]

Inherited by implicit conversion richDrxAny fromVersion to DrxAny[Version]

Inherited by implicit conversion any2stringadd fromVersion to any2stringadd[Version]

Inherited by implicit conversion StringFormat fromVersion to StringFormat[Version]

Inherited by implicit conversion Ensuring fromVersion to Ensuring[Version]

Inherited by implicit conversion ArrowAssoc fromVersion to ArrowAssoc[Version]

Ungrouped