toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.kotlin
/
Single
Single
data
class
Single
<
out
A
>
(
val
first
:
A
)
Members
Members & Extensions
Constructors
Single
Link copied to clipboard
constructor
(
first
:
A
)
Properties
first
Link copied to clipboard
val
first
:
A
Functions
to
Link copied to clipboard
infix
fun
<
A
,
B
>
Single
<
A
>
.
to
(
b
:
B
)
:
Pair
<
A
,
B
>
元组扩展,可以使用
a to b to c
这样的连续中缀函数创建更多元素的元组
to
List
Link copied to clipboard
fun
<
T
>
Single
<
T
>
.
toList
(
)
:
List
<
T
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String