# Version

class Version(val major: Int, val minor: Int, val patch: Int)

## Constructors

Version
Link copied to clipboard
constructor(major: Int, minor: Int, patch: Int)

## Types

Companion
Link copied to clipboard
object Companion

## 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

## Functions

covers
Link copied to clipboard
fun covers(version: BigDecimal): Boolean
fun covers(version: String): Boolean
fun covers(version: Version): Boolean
fun covers(major: Int, minor: Int = 0, patch: Int = 0): Boolean
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String