VersionRange

Represents a range of versions.

Since

1.15.2

Parameters

minInclusive

the minimum version (inclusive)

maxInclusive

the maximum version (inclusive)

Constructors

Link copied to clipboard
constructor(value: Int)
Creates a version range for a single value.

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun toJson(): @NotNull JsonElement
Converts this range to a JSON element.
Link copied to clipboard
abstract fun toString(): String