Packages

trait SetDSLBase[T, AfterAdd, AfterMultiAdd] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SetDSLBase
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def appendElement(newImpl: ImplDef, pos: CodePositionMaterializer): AfterAdd
    Attributes
    protected[this]
  2. abstract def multiSetAdd(newImpl: ImplDef, pos: CodePositionMaterializer): AfterMultiAdd
    Attributes
    protected[this]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def add[I <: T](function: Functoid[I])(implicit pos: CodePositionMaterializer): AfterAdd
  5. final def add[I <: T](function: => I)(implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd
  6. final def add[I <: T](implicit arg0: Tag[I], arg1: ClassConstructor[I], pos: CodePositionMaterializer): AfterAdd
  7. final def addEffect[F[_], I <: T](function: Functoid[F[I]])(implicit arg0: TagK[F], arg1: Tag[I], pos: CodePositionMaterializer): AfterAdd
  8. final def addEffect[F[_], I <: T](instance: F[I])(implicit arg0: TagK[F], arg1: Tag[I], pos: CodePositionMaterializer): AfterAdd
  9. final def addFactory[I <: T](implicit arg0: Tag[I], arg1: FactoryConstructor[I], pos: CodePositionMaterializer): AfterAdd

  10. final def addResource[R0, R <: Lifecycle[LifecycleF, T]](function: Functoid[R0])(implicit adapt: Aux[R0, R], tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd
  11. final def addResource[R](function: Functoid[R with Lifecycle[LifecycleF, T]])(implicit tag: LifecycleTag[R], pos: CodePositionMaterializer, d: DummyImplicit): AfterAdd
  12. final def addResource[R](instance: R with Lifecycle[LifecycleF, T])(implicit tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd
  13. final def addResource[R <: Lifecycle[LifecycleF, T]](implicit arg0: ClassConstructor[R], tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd
  14. final def addSet[I <: Set[_ <: T]](function: Functoid[I])(implicit pos: CodePositionMaterializer): AfterMultiAdd
  15. final def addSet[I <: Set[_ <: T]](function: => I)(implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterMultiAdd

    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))
  16. final def addSetValue[I <: Set[_ <: T]](instance: I)(implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterMultiAdd
  17. final def addTrait[I <: T](implicit arg0: Tag[I], arg1: TraitConstructor[I], pos: CodePositionMaterializer): AfterAdd

  18. final def addValue[I <: T](instance: I)(implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def ref[I <: T](name: Identifier)(implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd
  31. final def ref[I <: T](implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd

    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.

  32. final def refEffect[F[_], I <: T](name: Identifier)(implicit arg0: TagK[F], arg1: Tag[I], pos: CodePositionMaterializer): AfterAdd
  33. final def refEffect[F[_], I <: T](implicit arg0: TagK[F], arg1: Tag[I], pos: CodePositionMaterializer): AfterAdd
  34. final def refResource[R <: Lifecycle[LifecycleF, T]](name: Identifier)(implicit tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd
  35. final def refResource[R <: Lifecycle[LifecycleF, T]](implicit tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd
  36. final def refSet[I <: Set[_ <: T]](name: Identifier)(implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd
  37. final def refSet[I <: Set[_ <: T]](implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def weak[I <: T](name: Identifier)(implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd
  44. final def weak[I <: T](implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd

    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.

    See also

    Weak Sets https://izumi.7mind.io/distage/advanced-features#weak-sets

  45. final def weakSet[I <: Set[_ <: T]](name: Identifier)(implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd
  46. final def weakSet[I <: Set[_ <: T]](implicit arg0: Tag[I], pos: CodePositionMaterializer): AfterAdd

    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.

    See also

    Weak Sets https://izumi.7mind.io/distage/advanced-features#weak-sets

Inherited from AnyRef

Inherited from Any

Ungrouped