AbstractMapFactory

sealed class AbstractMapFactory<K : Any, V, V2> : Factory<Map<K, V2>> (source)

An abstract Factory implementation used to implement Map bindings.

Parameters

the value type of the map that this provides

Inheritors

Types

Link copied to clipboard
sealed class Builder<K : Any, V : Any, V2>

A builder for AbstractMapFactory.

Functions

Link copied to clipboard

The map of Providers that contribute to this map binding.

Link copied to clipboard
inline fun <T, R> Provider<T>.flatMap(crossinline transform: (T) -> Provider<R>): Provider<R>

Lazily maps this Provider's value to another Provider of type R.

Link copied to clipboard
abstract operator fun invoke(): Map<K, V2>
Link copied to clipboard
inline fun <T, R> Provider<T>.map(crossinline transform: (T) -> R): Provider<R>

Lazily maps this Provider's value to another Provider of type R.

Link copied to clipboard

Returns a memoizing Provider instance of this provider.

Link copied to clipboard

Returns a memoizing Lazy instance of this provider.

Link copied to clipboard
inline fun <T, R, V> Provider<T>.zip(other: Provider<R>, crossinline transform: (T, R) -> V): Provider<V>

Lazily zips this Provider's value with another Provider of type R and returns a Provider of type V.