Apache Pekko 2.0.0-M3+221-e044562d-SNAPSHOT - org.apache.pekko.util.Version Apache Pekko2.0.0-M3+221-e044562d-SNAPSHOT < Back  Packages  package root Definition Classesroot  package org Definition Classesroot  package apache Definition Classesorg  package pekko Definition Classesapache  package util Definition Classespekko BoundedBlockingQueue BoxedType ByteIterator ByteString ByteStringBuilder ClassLoaderObjectInputStream CompactByteString ConcurrentMultiMap HashCode Helpers Index LineNumbers ManifestInfo MessageBuffer MessageBufferMap NanoTimeTokenBucket OptionalUtil PriorityQueueStabilizer StablePriorityBlockingQueue StablePriorityQueue Subclassification Switch Timeout TypedMultiMap UUIDComparator Unsafe Version WallClock c org.apache.pekko.utilVersion Companion object Versionfinal class Version extends Comparable[Version] Comparable version information. The typical convention is to use 3 digit version numbers major.minor.patch, but 1 or two digits are also supported. If no . is used it is interpreted as a single digit version number or as plain alphanumeric if it couldn't be parsed as a number. It may also have a qualifier at the end for 2 or 3 digit version numbers such as "1.2-RC1". For 1 digit with qualifier, 1-RC1, it is interpreted as plain alphanumeric. It has support for https://github.com/dwijnand/sbt-dynver format with + or - separator. The number of commits from the tag is handled as a numeric part. For example 1.0.0+3-73475dce26 is less than 1.0.0+10-ed316bd024 (3 < 10). SourceVersion.scala Linear Supertypes Comparable[Version], AnyRef, Any Type Hierarchy  Ordering Alphabetic By Inheritance Inherited Version Comparable AnyRef Any Implicitly by any2stringadd by StringFormat by Ensuring by ArrowAssoc Hide All Show All Visibility Public Protected Instance Constructors  new Version(version: String) Value Members  final def !=(arg0: Any): Boolean Definition ClassesAnyRef → Any  final def ##: Int Definition ClassesAnyRef → Any  def +(other: String): String ImplicitThis member is added by an implicit conversion from Version toany2stringadd[Version] performed by method any2stringadd in scala.Predef.Definition Classesany2stringadd  def ->[B](y: B): (Version, B) ImplicitThis member is added by an implicit conversion from Version toArrowAssoc[Version] performed by method ArrowAssoc in scala.Predef.Definition ClassesArrowAssocAnnotations@inline()  final def ==(arg0: Any): Boolean Definition ClassesAnyRef → Any  final def asInstanceOf[T0]: T0 Definition ClassesAny  def clone(): AnyRef Attributesprotected[lang] Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()  def compareTo(other: Version): Int Definition ClassesVersion → Comparable  def ensuring(cond: (Version) => Boolean, msg: => Any): Version ImplicitThis member is added by an implicit conversion from Version toEnsuring[Version] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: (Version) => Boolean): Version ImplicitThis member is added by an implicit conversion from Version toEnsuring[Version] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: Boolean, msg: => Any): Version ImplicitThis member is added by an implicit conversion from Version toEnsuring[Version] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  def ensuring(cond: Boolean): Version ImplicitThis member is added by an implicit conversion from Version toEnsuring[Version] performed by method Ensuring in scala.Predef.Definition ClassesEnsuring  final def eq(arg0: AnyRef): Boolean Definition ClassesAnyRef  def equals(o: Any): Boolean Definition ClassesVersion → AnyRef → Any  final def getClass(): Class[_ <: AnyRef] Definition ClassesAnyRef → AnyAnnotations@IntrinsicCandidate() @native()  def hashCode(): Int Definition ClassesVersion → AnyRef → Any  final def isInstanceOf[T0]: Boolean Definition ClassesAny  final def ne(arg0: AnyRef): Boolean Definition ClassesAnyRef  final def notify(): Unit Definition ClassesAnyRefAnnotations@IntrinsicCandidate() @native()  final def notifyAll(): Unit Definition ClassesAnyRefAnnotations@IntrinsicCandidate() @native()  final def synchronized[T0](arg0: => T0): T0 Definition ClassesAnyRef  def toString(): String Definition ClassesVersion → AnyRef → Any  val version: String  final def wait(arg0: Long, arg1: Int): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException])  final def wait(arg0: Long): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException]) @native()  final def wait(): Unit Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.InterruptedException]) Deprecated Value Members  def finalize(): Unit Attributesprotected[lang] Definition ClassesAnyRefAnnotations@throws(classOf[java.lang.Throwable]) @Deprecated Deprecated (Since version 9)  def formatted(fmtstr: String): String ImplicitThis member is added by an implicit conversion from Version toStringFormat[Version] performed by method StringFormat in scala.Predef.Definition ClassesStringFormatAnnotations@deprecated @inline() Deprecated (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.  def →[B](y: B): (Version, B) ImplicitThis member is added by an implicit conversion from Version toArrowAssoc[Version] performed by method ArrowAssoc in scala.Predef.Definition ClassesArrowAssocAnnotations@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 Comparable[Version] Inherited from AnyRef Inherited from Any 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