final class Span extends AnyVal with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Span
- Serializable
- Serializable
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Span(encoded: Long)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def begin: Int
-
def
contains(other: Span): Boolean
Return true if this' range contains the other range.
- def contains(pos: Int): Boolean
-
def
crosses(other: Span): Boolean
Returns true if this and other overlap but containment or equality does not hold.
- val encoded: Long
- def end: Int
-
def
foreach(f: (Int) ⇒ Unit): Unit
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator: Iterator[Int]
- def length: Int
- def map[U](f: (Int) ⇒ U): IndexedSeq[U]
- def nonEmpty: Boolean
- def toIndexedSeq: Range
- def toPair: (Int, Int)
- def toRange: Range
-
def
toString(): String
- Definition Classes
- Span → Any