toggle menu
semantic-versioning-kmp
0.1.0-SNAPSHOT
common
switch theme
search in API
semver-core
/
com.javiersc.semver
/
Version
Version
class
Version
:
Comparable
<
Version
>
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Increase
Link copied to clipboard
sealed
interface
Increase
Stage
Link copied to clipboard
class
Stage
:
Comparable
<
Version.Stage
>
Properties
is
Alpha
Link copied to clipboard
val
Version
.
isAlpha
:
Boolean
is
Beta
Link copied to clipboard
val
Version
.
isBeta
:
Boolean
is
Dev
Link copied to clipboard
val
Version
.
isDev
:
Boolean
is
Not
Alpha
Link copied to clipboard
val
Version
.
isNotAlpha
:
Boolean
is
Not
Beta
Link copied to clipboard
val
Version
.
isNotBeta
:
Boolean
is
Not
Dev
Link copied to clipboard
val
Version
.
isNotDev
:
Boolean
is
Not
RC
Link copied to clipboard
val
Version
.
isNotRC
:
Boolean
is
Not
Snapshot
Link copied to clipboard
val
Version
.
isNotSnapshot
:
Boolean
is
RC
Link copied to clipboard
val
Version
.
isRC
:
Boolean
is
Snapshot
Link copied to clipboard
val
Version
.
isSnapshot
:
Boolean
major
Link copied to clipboard
val
major
:
Int
minor
Link copied to clipboard
val
minor
:
Int
patch
Link copied to clipboard
val
patch
:
Int
stage
Link copied to clipboard
val
stage
:
Version.Stage
?
value
Link copied to clipboard
val
value
:
String
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Version
)
:
Int
copy
Link copied to clipboard
fun
copy
(
major
:
Int
=
this.major
,
minor
:
Int
=
this.minor
,
patch
:
Int
=
this.patch
,
stageName
:
String
?
=
this.stage?.name
,
stageNum
:
Int
?
=
this.stage?.num
)
:
Version
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
inc
Link copied to clipboard
fun
inc
(
number
:
Version.Increase
?
=
null
,
stageName
:
String
=
""
)
:
Version
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String