asInt

abstract fun asInt(): Int(source)

Return this version as a number, 14 for Java 14.

Given the type used, this method returns the simple version even for versions lower than 5.

Return

the version number

See also