final class Map[A, B] extends DerivativeBase[A, B, B]
A value B dependent on the value of some Px[A].
- Alphabetic
- By Inheritance
- Map
- DerivativeBase
- Derivative
- Px
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type ValRev = (B, Int)
- Attributes
- protected
- Definition Classes
- DerivativeBase
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
- Definition Classes
- DerivativeBase
- final def _revA(): Int
- Attributes
- protected
- Definition Classes
- DerivativeBase
- final def _updateValueIfChanged(): Unit
- Attributes
- protected
- Definition Classes
- DerivativeBase
- final def _value(): B
- Attributes
- protected
- Definition Classes
- DerivativeBase
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- macro def extract: B
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 flatMap[C](g: (B) => Px[C]): FlatMap[A, C]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[C](g: (B) => C): Map[A, C]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def peek: B
Get the last used value without updating.
- def rev: Int
Revision of its value.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toCallback: CallbackTo[B]
- Definition Classes
- Px
- def toString(): String
- Definition Classes
- Map → AnyRef → Any
- def value(): B
Get the latest value, updating itself if necessary.
- final def valueSince(r: Int): Option[B]
- Definition Classes
- Px
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withReuse(implicit ev: Reusability[B]): Px[B]
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
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.