Packages

object ActionValueFn

Constructors and classes associated with ActionValueFn.

Source
ActionValueFn.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActionValueFn
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Base[Obs, A, T] extends ActionValueFn[Obs, A, T]

    Basic implementation of an ActionValueFn that stores any value supplied to update in an internal immutable map.

  2. class Folded[Obs, A, T, U] extends ActionValueFn[Obs, A, U]

    ActionValueFn implementation that implements a fold.

    ActionValueFn implementation that implements a fold.

    Any value supplied to update will be transformed first by prepare before being passed to the base ActionValueFn. Any value retrieved by actionValue will be passed to present before being returned.

  3. class Mergeable[Obs, A, T] extends ActionValueFn[Obs, A, T]

    ActionValueFn implementation that merges values passed to update into the value stored by the base ActionValueFn using the supplied Semigroup's plus function.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def empty[Obs, A, T](default: T): ActionValueFn[Obs, A, T]

    Returns an empty ActionValueFn backed by an immutable map.

    Returns an empty ActionValueFn backed by an immutable map. The supplied default value will be returned by ActionValueFn.actionValue for any (obs, action) pair that's not been seen by the ActionValueFn.

  7. def empty[Obs, A, T]: ActionValueFn[Obs, A, Option[T]]

    Returns an empty ActionValueFn backed by an immutable map.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromAggregator[Obs, A, T, U](agg: MonoidAggregator[U, T, U]): ActionValueFn[Obs, A, U]

    Returns an ActionValueFn that:

    Returns an ActionValueFn that:

    • uses the MonoidAggregator's monoid.zero as an initial value
    • merges values in using the aggregator's monoid
    • prepares and presents using the aggregator's analogous functions
  12. def fromAggregator[Obs, A, T, U](default: T, agg: Aggregator[U, T, U]): ActionValueFn[Obs, A, U]

    Returns an ActionValueFn that:

    Returns an ActionValueFn that:

    • uses the supplied default as an initial value
    • merges values in using the aggregator's semigroup
    • prepares and presents using the aggregator's analogous functions
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def mergeable[Obs, A, T](default: T)(implicit T: Semigroup[T]): ActionValueFn[Obs, A, T]

    Returns an empty ActionValueFn backed by an immutable map that uses the supplied default as a default value, and merges new learned values into the value in the underlying map using the Semigroup's plus function.

  17. def mergeable[Obs, A, T](implicit T: Monoid[T]): ActionValueFn[Obs, A, T]

    Returns an empty ActionValueFn backed by an immutable map that uses the zero of the supplied Monoid as a default value, and merges new learned values into the value in the underlying map using the Monoid's plus function.

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped