Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait SetDSLMutBase[T]class MultiSetElementDSL[T]class SetDSL[T]class SetElementDSL[T]class SetNamedDSL[T]
Members list
Value members
Concrete methods
Attributes
- See also
Add multiple values into this set at once
Add multiple values into this set at once
Example:
class T
many[T].addSet(Set(new T, new T, new T))
Attributes
Attributes
- See also
Adds set element binding to a Lifecycle class which has a ZIO effect type that specifies dependencies via zio environment.
Adds set element binding to a Lifecycle class which has a ZIO effect type that specifies dependencies via zio environment.
Warning: removes the precise subtype of Lifecycle because of Lifecycle.map
: Integration checks on mixed-in as a trait onto a Lifecycle value result here will be lost
Attributes
Adds set element binding to a Lifecycle value which has a ZIO effect type that specifies dependencies via zio environment.
Adds set element binding to a Lifecycle value which has a ZIO effect type that specifies dependencies via zio environment.
Warning: removes the precise subtype of Lifecycle because of Lifecycle.map
: Integration checks on mixed-in as a trait onto a Lifecycle value result here will be lost
Attributes
Adds set element binding to a Lifecycle value which has a ZIO effect type that specifies dependencies via zio environment.
Adds set element binding to a Lifecycle value which has a ZIO effect type that specifies dependencies via zio environment.
Warning: removes the precise subtype of Lifecycle because of Lifecycle.map
: Integration checks on mixed-in as a trait onto a Lifecycle value result here will be lost
Attributes
Bind by reference to another bound key
Bind by reference to another bound key
Example:
trait T
trait T1 extends T
make[T1]
many[T].ref[T1]
Here, T1
will be created only once. A class that depends on Set[T]
will receive a Set containing the same T1
instance as a class that depends on just a T1
.
Attributes
Add a Weak reference to I
to the set
Add a Weak reference to I
to the set
This set will contain the same object that is bound to make[I]
, but ONLY if some other - not garbage-collected - component in the object graph depends on I
explicitly.
Attributes
- See also
Add a Weak reference to Set[I]
to the set
Add a Weak reference to Set[I]
to the set
This set will contain all the elements of the Set bound at make[Set[I]]
, but ONLY if some other, not garbage-collected, component in the object graph depends on Set[I]
explicitly.
Attributes
- See also