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/scala.collection.generic/IsSeq

IsSeq

scala.collection.generic.IsSeq
See theIsSeq companion object
traitIsSeq[Repr] extendsIsIterable[Repr]

Type class witnessing that a collection representation typeRepr has elements of typeA and has a conversion toSeqOps[A, Iterable, C], for some typesA andC.

This type enables simple enrichment ofSeqs with extension methods which can make full use of the mechanics of the Scala collections framework in their implementation.

Attributes

See also
Companion
object
Source
IsSeq.scala
Graph
Supertypes
traitIsIterable[Repr]
traitIsIterableOnce[Repr]
classObject
traitMatchable
classAny

Members list

Type members

Types

typeC
Implicitly added byisSeqLikeIsIterable

The type returned by transformation operations that preserve the same elements type (e.g.

The type returned by transformation operations that preserve the same elements type (e.g.filter,take).

In practice, this type is oftenRepr itself, excepted in the case ofSeqView[A] (and otherView[A] subclasses), where it is “only”View[A].

Attributes

Source
IsIterable.scala

Inherited and Abstract types

typeA
Implicitly added byisSeqLikeIsIterable

The type of elements we can traverse over (e.g.

The type of elements we can traverse over (e.g.Int).

Attributes

Inherited from:
IsIterableOnce
Source
IsIterableOnce.scala
typeA

The type of elements we can traverse over (e.g.

The type of elements we can traverse over (e.g.Int).

Attributes

Inherited from:
IsIterableOnce
Source
IsIterableOnce.scala
typeC

The type returned by transformation operations that preserve the same elements type (e.g.

The type returned by transformation operations that preserve the same elements type (e.g.filter,take).

In practice, this type is oftenRepr itself, excepted in the case ofSeqView[A] (and otherView[A] subclasses), where it is “only”View[A].

Attributes

Inherited from:
IsIterable
Source
IsIterable.scala

Value members

Abstract methods

defapply(coll:Repr):IterableOps[A,Iterable,C]
Implicitly added byisSeqLikeIsIterable

A conversion from the typeRepr toIterableOps[A, Iterable, C]

A conversion from the typeRepr toIterableOps[A, Iterable, C]

Attributes

Source
IsIterable.scala
defapply(coll:Repr):SeqOps[A,Iterable,C]

A conversion from the typeRepr toSeqOps[A, Iterable, C]

A conversion from the typeRepr toSeqOps[A, Iterable, C]

Attributes

Note

The second type parameter of the returnedSeqOps value is stillIterable (and notSeq) becauseSeqView[A] only extendsSeqOps[A, View, View[A]].

Source
IsSeq.scala

Deprecated fields

overridevalconversion:Repr=>IterableOps[A,Iterable,C]
Implicitly added byisSeqLikeIsIterable

Attributes

Deprecated
[Since version 2.13.0]\'conversion\' is now a method named \'apply\'
Source
IsIterable.scala
overridevalconversion:Repr=>SeqOps[A,Iterable,C]

Attributes

Deprecated
[Since version 2.13.0]\'conversion\' is now a method named \'apply\'
Source
IsSeq.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp