final case classGet[V, A](f: (V) ⇒ A) extends AtomicRef[V, A] with Product with Serializable
NB: Attempted to define this as Get[V]() extends AtomicRef[V, V] but
when pattern matching (x: AtomicRef[A, B]) match { case Get() => }
scalac doesn't recognize that A =:= B.
Linear Supertypes
Serializable, Serializable, Product, Equals, AtomicRef[V, A], AnyRef, Any
NB: Attempted to define this as
Get[V]() extends AtomicRef[V, V]
but when pattern matching(x: AtomicRef[A, B]) match { case Get() => }
scalac doesn't recognize that A =:= B.