Output

class Output<T>

This class is similar to java.util.Optional, but allows null values.

Parameters

<T>

the content type

Properties

Link copied to clipboard
Link copied to clipboard
val value: T

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun <U> map(mapper: (in T) -> out U): Output<U>
Link copied to clipboard
open fun <T> notReady(): Output<T>
Link copied to clipboard
open fun orElse(other: T): T
Link copied to clipboard
open fun orElseGet(supplier: Supplier<out T>): T
Link copied to clipboard
open fun <T> ready(value: T): Output<T>
Link copied to clipboard
open fun toString(): String