case class PreReleaseComponent(identifiers: Component*) extends Component with Product with Serializable
A pre-release component [SemVer]
Precedence for a pre-release component is determined by comparing each identifier from left to right until a difference is found as follows: - identifiers consisting of only digits are compared numerically - identifiers with letters or hyphens are compared lexically in ASCII sort order - numeric identifiers always have lower precedence than non-numeric identifiers - a larger set of fields has a higher precedence than a smaller set, if all of the preceding identifiers are equal
Example: alpha < alpha.1 < alpha.beta < beta < beta.2 < beta.11 < rc.1
A pre-release component have a lower precedence than an empty component.
- identifiers
build identifiers
- See also
https://semver.org/spec/v2.0.0.html#spec-item-9
- Alphabetic
- By Inheritance
- PreReleaseComponent
- Serializable
- Serializable
- Product
- Equals
- Component
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(that: Component): Boolean
- Definition Classes
- Ordered
-
def
<=(that: Component): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: Component): Boolean
- Definition Classes
- Ordered
-
def
>=(that: Component): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
comparator: PartialFunction[Component, Int]
- Definition Classes
- PreReleaseComponent → Component
-
final
def
compare(that: Component): Int
- Definition Classes
- Component → Ordered
-
def
compareTo(that: Component): Int
- Definition Classes
- Ordered → Comparable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val identifiers: Component*
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.