SortedOps
Base trait for sorted collections
- Source
- SortedOps.scala
Value members
Abstract methods
Returns the first key of the collection.
Returns the first key of the collection.
- Source
- SortedOps.scala
Creates a ranged projection of this collection.
Creates a ranged projection of this collection. Any mutations in the ranged projection will update this collection and vice versa.
Note: keys are not guaranteed to be consistent between this collection and the projection. This is the case for buffers where indexing is relative to the projection.
- Value Params
- from
The lower-bound (inclusive) of the ranged projection.
None
if there is no lower bound.- until
The upper-bound (exclusive) of the ranged projection.
None
if there is no upper bound.
- Source
- SortedOps.scala
Create a range projection of this collection with no lower-bound.
Create a range projection of this collection with no lower-bound.
- Value Params
- to
The upper-bound (inclusive) of the ranged projection.
- Source
- SortedOps.scala
Concrete methods
Creates a ranged projection of this collection with both a lower-bound and an upper-bound.
Creates a ranged projection of this collection with both a lower-bound and an upper-bound.
- Value Params
- from
The lower-bound (inclusive) of the ranged projection.
- until
The upper-bound (exclusive) of the ranged projection.
- Source
- SortedOps.scala
Creates a ranged projection of this collection with no upper-bound.
Creates a ranged projection of this collection with no upper-bound.
- Value Params
- from
The lower-bound (inclusive) of the ranged projection.
- Source
- SortedOps.scala
Creates a ranged projection of this collection with no lower-bound.
Creates a ranged projection of this collection with no lower-bound.
- Value Params
- until
The upper-bound (exclusive) of the ranged projection.
- Source
- SortedOps.scala
Deprecated methods
Comparison function that orders keys.
Comparison function that orders keys.
- Deprecated
- Source
- SortedOps.scala
Creates a ranged projection of this collection with no upper-bound.
Creates a ranged projection of this collection with no upper-bound.
- Value Params
- from
The lower-bound (inclusive) of the ranged projection.
- Deprecated
- Source
- SortedOps.scala
Create a range projection of this collection with no lower-bound.
Create a range projection of this collection with no lower-bound.
- Value Params
- to
The upper-bound (inclusive) of the ranged projection.
- Deprecated
- Source
- SortedOps.scala
Creates a ranged projection of this collection with no lower-bound.
Creates a ranged projection of this collection with no lower-bound.
- Value Params
- until
The upper-bound (exclusive) of the ranged projection.
- Deprecated
- Source
- SortedOps.scala