rd-gen
2023.3.2-preview4
rd-gen
/
com.jetbrains.rd.util.kli
/
Option
/
Valued
Valued
class
Valued
<
T
:
Any
>
(
short
:
Char
?
,
long
:
String
?
,
description
:
String
,
deserialize
:
(
String
)
->
T
,
defaultValue
:
T
?
)
:
Option
<
T
>
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Valued
Link copied to clipboard
fun
<
T
:
Any
>
Valued
(
short
:
Char
?
,
long
:
String
?
,
description
:
String
,
deserialize
:
(
String
)
->
T
,
defaultValue
:
T
?
)
Content copied to clipboard
Functions
parse
Link copied to clipboard
fun
parse
(
rawValue
:
String
?
)
Content copied to clipboard
times
Assign
Link copied to clipboard
operator
fun
timesAssign
(
v
:
T
)
Content copied to clipboard
try
Parse
Link copied to clipboard
fun
tryParse
(
rawValue
:
String
)
:
Boolean
Content copied to clipboard
unary
Plus
Link copied to clipboard
operator
fun
unaryPlus
(
)
:
T
?
Content copied to clipboard
Properties
default
Value
Link copied to clipboard
val
defaultValue
:
T
?
Content copied to clipboard
description
Link copied to clipboard
val
description
:
String
Content copied to clipboard
long
Link copied to clipboard
val
long
:
String
?
Content copied to clipboard
short
Link copied to clipboard
val
short
:
Char
?
Content copied to clipboard
value
Link copied to clipboard
open
val
value
:
T
?
Content copied to clipboard