IntegerRange

data class IntegerRange(val start: Int, val end: Int)

A numeric range between two integers.

Constructors

Link copied to clipboard
fun IntegerRange(start: Int, end: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val end: Int

The end of the range as an integer value. The range is up-to but not including the end value. Thus, the size of a range between 0 and 100 is 100.

Link copied to clipboard
val start: Int

The start of the range as an integer value.