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/Predef/StringFormat

StringFormat

scala.Predef.StringFormat
final implicitclassStringFormat[A](self:A) extendsAnyVal

Attributes

Source
Predef.scala
Graph
Supertypes
classAnyVal
traitMatchable
classAny

Members list

Value members

Deprecated methods

Returns string formatted according to givenformat string.

Returns string formatted according to givenformat string. Format strings are as forString.format (@see java.lang.String.format).

Attributes

Deprecated
[Since version 2.12.16]Use `formatString.format(value)` instead of `value.formatted(formatString)`,\nor use the `f\"\"` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.
Source
Predef.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp