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/FunctionWrappers/FromJavaUnaryOperator

FromJavaUnaryOperator

scala.jdk.FunctionWrappers.FromJavaUnaryOperator
caseclassFromJavaUnaryOperator[T](jf:UnaryOperator[T]) extendsT=>T

Attributes

Source
FunctionWrappers.scala
Graph
Supertypes
traitProduct
traitEquals
traitT=>T
classObject
traitMatchable
classAny
Show all

Members list

Value members

Concrete methods

defapply(x1:T):T

Apply the body of this function to the argument.

Apply the body of this function to the argument.

Attributes

Returns

the result of function application.

Source
FunctionWrappers.scala

Inherited methods

defandThen[A](g:T=>A):T=>A

Composes two instances ofFunction1 in a newFunction1, with this function applied first.

Composes two instances ofFunction1 in a newFunction1, with this function applied first.

Type parameters

A

the result type of functiong

Value parameters

g

a function R => A

Attributes

Returns

a new functionf such thatf(x) == g(apply(x))

Inherited from:
Function1
Source
Function1.scala
defcompose[A](g:A=>T):A=>T

Composes two instances ofFunction1 in a newFunction1, with this function applied last.

Composes two instances ofFunction1 in a newFunction1, with this function applied last.

Type parameters

A

the type to which functiong can be applied

Value parameters

g

a function A => T1

Attributes

Returns

a new functionf such thatf(x) == apply(g(x))

Inherited from:
Function1
Source
Function1.scala

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, anIterator[Any]

Inherited from:
Product
Source
Product.scala
overridedeftoString():String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Inherited from:
Function1
Source
Function1.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp