Maybes

object Maybes

Functions

empty
Link copied to clipboard
common
fun <T> empty(): Maybe<T>
Creates an empty Maybe.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
of
Link copied to clipboard
common
fun <T> of(value: T): Maybe<T>
Creates a Maybe of a non-nullable value.
ofNullable
Link copied to clipboard
common
fun <T> ofNullable(value: T?): Maybe<T>
Creates a Maybe of a nullable value.
toString
Link copied to clipboard
common
open fun toString(): String

Sources

(source)
Link copied to clipboard