Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.collection/SortedOps

SortedOps

scala.collection.SortedOps
traitSortedOps[A,+C]

Base trait for sorted collections

Attributes

Source
SortedOps.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Known subtypes
traitSortedMapOps[K,V,CC,C]
traitSortedMapOps[K,V,CC,C]
traitSortedMap[K,V]
classWithDefault[K,V]
classTreeMap[K,V]
traitSortedMapOps[K,V,CC,C]
traitSortedMap[K,V]
classWithDefault[K,V]
classTreeMap[K,V]
traitSortedMap[K,V]
traitSortedMapFactoryDefaults[K,V,CC,WithFilterCC,UnsortedCC]
traitSortedSetOps[A,CC,C]
traitSortedSetOps[A,CC,C]
classBitSet
classBitSet1
classBitSet2
classBitSetN
traitSortedSet[A]
classTreeSet[A]
traitSortedSetOps[A,CC,C]
classBitSet
traitSortedSet[A]
classTreeSet[A]
traitBitSetOps[C]
traitBitSet
traitSortedSet[A]
traitSortedSetFactoryDefaults[A,CC,WithFilterCC]
Show all

Members list

Value members

Abstract methods

Returns the first key of the collection.

Returns the first key of the collection.

Attributes

Source
SortedOps.scala
deflastKey:A

Returns the last key of the collection.

Returns the last key of the collection.

Attributes

Source
SortedOps.scala

Attributes

Source
SortedOps.scala
defrangeImpl(from:Option[A],until:Option[A]):C

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 parameters

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.

Attributes

Source
SortedOps.scala
defrangeTo(to:A):C

Create a range projection of this collection with no lower-bound.

Create a range projection of this collection with no lower-bound.

Value parameters

to

The upper-bound (inclusive) of the ranged projection.

Attributes

Source
SortedOps.scala

Concrete methods

defrange(from:A,until:A):C

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 parameters

from

The lower-bound (inclusive) of the ranged projection.

until

The upper-bound (exclusive) of the ranged projection.

Attributes

Source
SortedOps.scala
defrangeFrom(from:A):C

Creates a ranged projection of this collection with no upper-bound.

Creates a ranged projection of this collection with no upper-bound.

Value parameters

from

The lower-bound (inclusive) of the ranged projection.

Attributes

Source
SortedOps.scala
defrangeUntil(until:A):C

Creates a ranged projection of this collection with no lower-bound.

Creates a ranged projection of this collection with no lower-bound.

Value parameters

until

The upper-bound (exclusive) of the ranged projection.

Attributes

Source
SortedOps.scala

Deprecated methods

defcompare(k0:A,k1:A):Int

Comparison function that orders keys.

Comparison function that orders keys.

Attributes

Deprecated
[Since version 2.13.0]Use ordering.compare instead
Source
SortedOps.scala
finaldeffrom(from:A):C

Creates a ranged projection of this collection with no upper-bound.

Creates a ranged projection of this collection with no upper-bound.

Value parameters

from

The lower-bound (inclusive) of the ranged projection.

Attributes

Deprecated
[Since version 2.13.0]Use rangeFrom
Source
SortedOps.scala
finaldefto(to:A):C

Create a range projection of this collection with no lower-bound.

Create a range projection of this collection with no lower-bound.

Value parameters

to

The upper-bound (inclusive) of the ranged projection.

Attributes

Deprecated
[Since version 2.13.0]Use rangeTo
Source
SortedOps.scala
finaldefuntil(until:A):C

Creates a ranged projection of this collection with no lower-bound.

Creates a ranged projection of this collection with no lower-bound.

Value parameters

until

The upper-bound (exclusive) of the ranged projection.

Attributes

Deprecated
[Since version 2.13.0]Use rangeUntil
Source
SortedOps.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp