trait
Observer extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Observer, B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
add(ref: Any): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Observer) ⇒ Boolean, msg: ⇒ Any): Observer
-
def
ensuring(cond: (Observer) ⇒ Boolean): Observer
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Observer
-
def
ensuring(cond: Boolean): Observer
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
implicit
def
observer: Observer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Observer, B)
Shadowed Implicit Value Members
-
val
self: Any
-
val
self: Any
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from
Observer to StringAdd
Inherited by implicit conversion any2stringfmt from
Observer to StringFormat
Inherited by implicit conversion any2ArrowAssoc from
Observer to ArrowAssoc[Observer]
Inherited by implicit conversion any2Ensuring from
Observer to Ensuring[Observer]
A memory management assistant. The expected usage is that an
Observer
instance will be the only thing that holds strong references to some collection of objects; once theObserver
instance is no longer strongly-reachable (can be garbage collected), then neither will the collection of objects that it references.An implicit
Observer
is required when interacting withSource
s, to facilitate "automatic" memory management. To create anObserver
, either explicitly do so:or mix one into the containing class: