Int.G.Range.Z_Void

object z_Void extends Int.G.Range[Int] with Void
trait Void
trait Able.Void
class Int.G.Range[Int]
trait Any.Z.PrimitiveTag.Int
trait Any.Z.PrimitiveTag
trait Able.Stream[Int]
trait Able.Size
class Range[Int]
trait Able.Contain[Int]
class java.lang.Object
trait scala.Matchable
class Any

Def

inline def ~~: Int.G.Stream[Int]

Alias to "stream"

Alias to "stream"

Inherited from
Range
Source
Range.scala
override def contains(r: Range[Int]): Boolean

Check if within

Check if within

Returns true if this range contains specified range

 (1 <> 9) contains (3 <> 7)  // Returns: true

 (1 <> 5) contains (3 <> 7)  // Returns: false
Definition Classes
Inherited from
Range
Source
Range.scala
def contains(r: Int.G.Range[Int]): Boolean
Inherited from
Range
Source
Range.scala
override def contains(v: Int): Boolean

Check if within

Check if within

Returns true if this range contains specified range

 (1 <> 9) contains (3 <> 7)  // Returns: true

 (1 <> 5) contains (3 <> 7)  // Returns: false
Definition Classes
Inherited from
Range
Source
Range.scala
def end: Int
Inherited from
Range
Source
Range.scala
def endIsIn: Boolean
Inherited from
Range
Source
Range.scala
def endX: Int
Inherited from
Range
Source
Range.scala
override def equals(v: Any): Boolean
Definition Classes
Range -> Any
Inherited from
Range
Source
__.scala
override def isEmpty: Boolean

Empty check

Empty check

Checks if the range is able contain anything.

For empty range the start and end values are the same and the end value is not inclusive

Definition Classes
Inherited from
Range
Source
Range.scala
final def isVoid: Boolean

Returns "true"

Returns "true"

Method is final with true value hardcoded.

Inherited from
Void
Source
__.scala
def join(r: Range[Int]): this.type
Inherited from
Range
Source
Range.scala
def join(r: Int.G.Range[Int]): this.type
Inherited from
Range
Source
Range.scala
def join(v: Int): this.type
Inherited from
Range
Source
Range.scala
def ordering: Ordering[Int]
Inherited from
Range
Source
Range.scala
def overlapOpt(r: Range[Int]): Opt[this.type]
Inherited from
Range
Source
Range.scala
Inherited from
Range
Source
Range.scala
def overlaps(r: Range[Int]): Boolean
Inherited from
Range
Source
Range.scala
def overlaps(r: Int.G.Range[Int]): Boolean
Inherited from
Range
Source
Range.scala
def pack: Int.G.Pack[Int]
Inherited from
Range
Source
Range.scala
inline def raw(using sp: Specialized.Primitive[Int]): s.Range

Primitive range

Primitive range

Returns primitive specialized range implementation.

The method will not compile for reference types.

Inherited from
Range
Source
__.scala
def size: Int
Inherited from
Range
Source
Range.scala
def start: Int
Inherited from
Range
Source
Range.scala
def stepStream(f: Int => Int): Stream[Int]

Stream of calculated values

Stream of calculated values

Returns a stream starting with the first range value. Every next value is calculated by applying the given function to the prior value. The stream ends when the function result is no longer within range.

 (1 <> 10).stepStream( _ + 3).tp  // Prints: Stream(1, 4, 7, 10)
Inherited from
Range
Source
__.scala
def stream: Int.G.Stream[Int]
Inherited from
Range
Source
Range.scala
inline def toArray: Array[Int]
Inherited from
Range
Source
Range.scala
inline def toBuffer: Int.G.Buffer[Int]
Inherited from
Range
Source
Range.scala