IndexRange

object IndexRange
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def normalize(v1: Int, v2: Int): IndexRange

Convenience method to create an IndexRange instance that has the smaller value as the start index, and the larger value as the end index.

Convenience method to create an IndexRange instance that has the smaller value as the start index, and the larger value as the end index.

def valueOf(value: String): IndexRange

Convenience method to parse in a String of the form '2,6', which will create an IndexRange instance with a start value of 2, and an end value of 6.

Convenience method to parse in a String of the form '2,6', which will create an IndexRange instance with a start value of 2, and an end value of 6.

Concrete fields

val ValueDelimiter: String

Index range value delimiter.

Index range value delimiter.

Deprecated fields

@deprecated("Use ValueDelimiter; VALUE_DELIMITER will be removed in a future release", "8.0.60-R10")
val VALUE_DELIMITER: String
Deprecated

Implicits

Implicits

implicit def sfxIndexRange(r: IndexRange): IndexRange