Direct Known Satisfying Classes: Array<Element>, String
Direct Known Satisfying Interfaces: Empty, List<Element>, Sequential<Element>
All Known Subtypes Hierarchy

- Ranged
  - Array
  - Empty
    - empty
  - List
    - Array
    - LazyList
    - Sequential
      - Empty
        - empty
      - Sequence
        - ArraySequence
        - Range
        - Singleton
        - Tuple
    - String
  - Sequential
    - Empty
      - empty
    - Sequence
      - ArraySequence
      - Range
      - Singleton
      - Tuple
  - String

Abstract supertype of ranged objects which map a range of `Comparable` keys to ranges of values. The type parameter `Span` abstracts the type of the resulting range.

A span may be obtained from an instance of `Ranged` using the span operator:

    print("hello world"[0..5])

See also: List, Sequence, String

Inherited Attributes
Attributes inherited from: Object hash, string

Methods
segment | Source Code shared formal Span segment(Index from, Integer length) Obtain a segment containing the mapped values starting from the given index, with the given length.
span | Source Code shared formal Span span(Index from, Index to) Obtain a span containing the mapped values between the two given indices.
spanFrom | Source Code shared formal Span spanFrom(Index from) Obtain a span containing the mapped values between the starting index and the end of the receiver.
spanTo | Source Code shared formal Span spanTo(Index to) Obtain a span containing the mapped values between the start of the receiver and the end index.

Inherited Methods
Methods inherited from: Object equals