Trait

scala.concurrent.stm

RefCompanion

Related Doc: package stm

Permalink

trait RefCompanion extends AnyRef

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

Abstract Value Members

  1. abstract def factory: RefFactory

    Permalink
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(initialValue: Unit): Ref[Unit]

    Permalink
  5. def apply(initialValue: Double): Ref[Double]

    Permalink
  6. def apply(initialValue: Float): Ref[Float]

    Permalink
  7. def apply(initialValue: Long): Ref[Long]

    Permalink
  8. def apply(initialValue: Int): Ref[Int]

    Permalink
  9. def apply(initialValue: Char): Ref[Char]

    Permalink
  10. def apply(initialValue: Short): Ref[Short]

    Permalink
  11. def apply(initialValue: Byte): Ref[Byte]

    Permalink
  12. def apply(initialValue: Boolean): Ref[Boolean]

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

    Permalink

    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]]
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def make[A]()(implicit om: OptManifest[A]): Ref[A]

    Permalink

    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.

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped