Added in API level 24
Output
open class Output<T : Any!>
Simple struct-like class for output parameters.
Summary
Public constructors | |
---|---|
Output() Constructs an empty |
|
Output(value: T) Constructs an |
Properties | |
---|---|
T |
The value field |
Public constructors
Output
Added in API level 24
Output(value: T)
Constructs an Output
with the given value.
Parameters | |
---|---|
value |
T: the initial value |
Public methods
toString
Added in API level 24
open fun toString(): String
Returns a string representation of the object.
Return | |
---|---|
String |
a string representation of the object. |