toggle menu
sdk-java
1.2.0
jvm
switch theme
search in API
sdk-common
/
dev.restate.sdk.common
/
Output
Output
class
Output
<
T
>
This class is similar to
java.util.Optional
, but allows null values.
Parameters
<T>
the content type
Members
Properties
is
Ready
Link copied to clipboard
val
isReady
:
Boolean
value
Link copied to clipboard
val
value
:
T
Functions
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
map
Link copied to clipboard
open
fun
<
U
>
map
(
mapper
:
(
in
T
)
->
out
U
)
:
Output
<
U
>
not
Ready
Link copied to clipboard
open
fun
<
T
>
notReady
(
)
:
Output
<
T
>
or
Else
Link copied to clipboard
open
fun
orElse
(
other
:
T
)
:
T
or
Else
Get
Link copied to clipboard
open
fun
orElseGet
(
supplier
:
Supplier
<
out
T
>
)
:
T
ready
Link copied to clipboard
open
fun
<
T
>
ready
(
value
:
T
)
:
Output
<
T
>
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String