Aliucord
2.0.1
androidJvm
Aliucord
/
com.aliucord.utils
/
SemVer
Sem
Ver
data
class
SemVer
(
val
major
:
Int
,
val
minor
:
Int
,
val
patch
:
Int
)
:
Comparable
<
SemVer
>
Parses a Semantic version in the format of
v1.0.0
Members
Constructors
Sem
Ver
Link copied to clipboard
constructor
(
major
:
Int
,
minor
:
Int
,
patch
:
Int
)
Types
Adapter
Link copied to clipboard
class
Adapter
:
TypeAdapter
<
SemVer
>
Companion
Link copied to clipboard
object
Companion
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
SemVer
)
:
Int
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Properties
major
Link copied to clipboard
val
major
:
Int
minor
Link copied to clipboard
val
minor
:
Int
patch
Link copied to clipboard
val
patch
:
Int