toggle menu
A+ Courses
4.0.0-beta1
JVM
switch theme
search in API
A+ Courses
/
fi.aalto.cs.apluscourses.utils
/
Version
Version
data
class
Version
(
val
major
:
Int
,
val
minor
:
Int
)
Members
Constructors
Version
Link copied to clipboard
constructor
(
major
:
Int
,
minor
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Comparison
Status
Link copied to clipboard
enum
ComparisonStatus
:
Enum
<
Version.ComparisonStatus
>
Invalid
Version
String
Exception
Link copied to clipboard
class
InvalidVersionStringException
(
versionString
:
String
,
cause
:
Throwable
?
)
:
RuntimeException
Properties
major
Link copied to clipboard
val
major
:
Int
minor
Link copied to clipboard
val
minor
:
Int
Functions
compare
To
Link copied to clipboard
fun
compareTo
(
other
:
Version
)
:
Version.ComparisonStatus
Compares a version with another version and returns the comparison result.
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