AllNNIRange

class AllNNIRange(val start: VAllNNI.Value, val endInclusive: VAllNNI) : ClosedRange<VAllNNI> (source)

Constructors

Link copied to clipboard
constructor(startNNI: VNonNegativeInteger, endInclusive: VAllNNI)
constructor(startNNI: VNonNegativeInteger, endInclusive: VNonNegativeInteger)
constructor(start: VAllNNI.Value, endInclusive: VAllNNI)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val endInclusive: VAllNNI
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val start: VAllNNI.Value
Link copied to clipboard

Functions

Link copied to clipboard
operator fun contains(other: AllNNIRange): Boolean
open operator override fun contains(value: VAllNNI): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard

This function returns a contiguous range if ranges can be merged, if not returns null. Note that this is not commutative. The outer and inner ranges differ, and multiplier values matter too.

Link copied to clipboard
operator fun minus(otherRange: AllNNIRange): AllNNIRange?
operator fun minus(other: VAllNNI): AllNNIRange
Link copied to clipboard
operator fun plus(other: AllNNIRange): AllNNIRange
Link copied to clipboard
open override fun toString(): String