scala.concurrent.stm

RefCompanion

trait RefCompanion extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RefCompanion
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def factory : RefFactory

    Attributes
    protected abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def apply (initialValue: Unit): Ref[Unit]

  7. def apply (initialValue: Double): Ref[Double]

  8. def apply (initialValue: Float): Ref[Float]

  9. def apply (initialValue: Long): Ref[Long]

  10. def apply (initialValue: Int): Ref[Int]

  11. def apply (initialValue: Char): Ref[Char]

  12. def apply (initialValue: Short): Ref[Short]

  13. def apply (initialValue: Byte): Ref[Byte]

  14. def apply (initialValue: Boolean): Ref[Boolean]

  15. def apply [A] (initialValue: A)(implicit om: OptManifest[A]): Ref[A]

    Returns a Ref instance that manages a newly allocated memory location, initializing it to hold initialValue.

    Returns a Ref instance that manages a newly allocated memory location, initializing it to hold initialValue. The returned Ref is not part of any transaction's read or write set.

    Example:

       val x = Ref("initial") // creates a Ref[String]
       val list1 = Ref(Nil : List[String]) // creates a Ref[List[String]]
       val list2 = Ref[List[String]](Nil)  // creates a Ref[List[String]]
    
  16. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  17. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  22. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  23. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  24. def make [A] ()(implicit om: OptManifest[A]): Ref[A]

    Returns a Ref instance that manages a newly allocated memory location holding values of type A.

    Returns a Ref instance that manages a newly allocated memory location holding values of type A. If you have an initial value v0 available, Ref(v0) should be preferred.

  25. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any