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.jdk/OptionShape

OptionShape

scala.jdk.OptionShape
See theOptionShape companion object
sealed abstractclassOptionShape[A,O]

A type class implementing conversions from a generic ScalaOption or JavaOptional to a specialized Java variant (forDouble,Int andLong).

Type parameters

A

the primitive type wrapped in an option

O

the specialized JavaOptional wrapping an element of typeA

Attributes

Companion
object
Source
OptionShape.scala
Graph
Supertypes
classObject
traitMatchable
classAny

Members list

Value members

Abstract methods

deffromJava(o:Optional[A]):O

Converts fromOptional to the specialized variantO

Converts fromOptional to the specialized variantO

Attributes

Source
OptionShape.scala
deffromScala(o:Option[A]):O

Converts fromOption to the specialized variantO

Converts fromOption to the specialized variantO

Attributes

Source
OptionShape.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp