BaseDefaultSubject

actual constructor(defaultValue: ObservableOptional.Value<R>, initialValue: ObservableOptional.Value<T?>)

Constructor

Parameters

defaultValue

The default Value of R to return if the current value is ObservableOptional.Nothing or ObservableOptional.Value containing null.

initialValue

The initial Value of T.


actual constructor(observation: ObservationDefault<R, T?>)

Parameters

T

the type of value to expect.

R

the type of result to expect. Must be a subclass of T

observation

The ObservationUninitialized to handle value being observed

expect constructor(defaultValue: ObservableOptional.Value<R>, initialValue: ObservableOptional.Value<T?>)

Constructor

Parameters

defaultValue

The default Value of R to return if the current value is ObservableOptional.Nothing or ObservableOptional.Value containing null.

initialValue

The initial Value of T.


expect constructor(observation: ObservationDefault<R, T?>)

Parameters

T

the type of value to expect.

R

the type of result to expect. Must be a subclass of T

observation

The ObservationUninitialized to handle value being observed

actual constructor(defaultValue: ObservableOptional.Value<R>, initialValue: ObservableOptional.Value<T?>)

Constructor

Parameters

defaultValue

The default Value of R to return if the current value is ObservableOptional.Nothing or ObservableOptional.Value containing null.

initialValue

The initial Value of T.


actual constructor(observation: ObservationDefault<R, T?>)

Parameters

T

the type of value to expect.

R

the type of result to expect. Must be a subclass of T

observation

The ObservationUninitialized to handle value being observed

actual constructor(defaultValue: ObservableOptional.Value<R>, initialValue: ObservableOptional.Value<T?>)

Constructor

Parameters

defaultValue

The default Value of R to return if the current value is ObservableOptional.Nothing or ObservableOptional.Value containing null.

initialValue

The initial Value of T.


actual constructor(observation: ObservationDefault<R, T?>)

Parameters

T

the type of value to expect.

R

the type of result to expect. Must be a subclass of T

observation

The ObservationUninitialized to handle value being observed