rd-gen
Toggle table of contents
2026.1.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
rd-gen
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
>
Members
Constructors
Valued
Link copied to clipboard
constructor
(
short
:
Char
?
,
long
:
String
?
,
description
:
String
,
deserialize
:
(
String
)
->
T
,
defaultValue
:
T
?
)
Properties
default
Value
Link copied to clipboard
val
defaultValue
:
T
?
description
Link copied to clipboard
val
description
:
String
long
Link copied to clipboard
val
long
:
String
?
short
Link copied to clipboard
val
short
:
Char
?
value
Link copied to clipboard
open
val
value
:
T
?
Functions
parse
Link copied to clipboard
fun
parse
(
rawValue
:
String
?
)
times
Assign
Link copied to clipboard
operator
fun
timesAssign
(
v
:
T
)
try
Parse
Link copied to clipboard
fun
tryParse
(
rawValue
:
String
)
:
Boolean
unary
Plus
Link copied to clipboard
operator
fun
unaryPlus
(
)
:
T
?