sealed abstract class DerivativeBase[A, B, C] extends Derivative[C]
- Alphabetic
- By Inheritance
- DerivativeBase
- Derivative
- Px
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
ValRev = (B, Int)
- Attributes
- protected
Abstract Value Members
-
abstract
def
peek: C
Get the last used value without updating.
Get the last used value without updating.
- Definition Classes
- Px
-
abstract
def
rev: Int
Revision of its value.
Revision of its value. Increments when value changes.
- Definition Classes
- Px
-
abstract
def
value(): C
Get the latest value, updating itself if necessary.
Get the latest value, updating itself if necessary.
- Definition Classes
- Px
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
_init(): ValRev
- Attributes
- protected
-
final
def
_revA(): Int
- Attributes
- protected
-
final
def
_updateValueIfChanged(): Unit
- Attributes
- protected
-
final
def
_value(): B
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
macro
def
extract: C
If this Px contains a function, it can be extracted and the Px dropped from the signature.
If this Px contains a function, it can be extracted and the Px dropped from the signature. Every time the function is invoked it will use the latest value of this
Px, even if you don't explicitly hold a reference to it anymore.Example. From a
Px[Int => String], anInt => Stringcan be extracted.- Definition Classes
- Px
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[B](f: (C) ⇒ Px[B]): Derivative[B]
- Definition Classes
- Px
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (C) ⇒ B): Derivative[B]
- Definition Classes
- Px
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toCallback: CallbackTo[C]
- Definition Classes
- Px
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
valueSince(r: Int): Option[C]
- Definition Classes
- Px
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
withReuse(implicit ev: Reusability[C]): Px[C]
In addition to updating when the underlying
Pxchanges, this will also check its own result and halt updates if reusable.In addition to updating when the underlying
Pxchanges, this will also check its own result and halt updates if reusable.- Definition Classes
- Derivative