Package

io.reactors

container

Permalink

package container

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

Type Members

  1. class AbelianCatamorph[T, S] extends RCatamorph[T, S] with Modifiable

    Permalink

    Stores elements of an Abelian group.

    Stores elements of an Abelian group.

    Aggregation is computed incrementally using a binary operator and its inverse.

  2. class CommuteCatamorph[T, S] extends RCatamorph[T, S] with Modifiable

    Permalink

    Stores elements that form a commutative monoid.

    Stores elements that form a commutative monoid.

    Elements are incrementally aggregated using a binary operator that is associative and commutative. The value of the aggregation can be accessed with the signal method.

  3. class EventsOps[T] extends AnyRef

    Permalink
  4. trait LowLowSignalCatamorph extends AnyRef

    Permalink
  5. trait LowSignalCatamorph extends LowLowSignalCatamorph

    Permalink
  6. class MonoidCatamorph[T, S] extends RCatamorph[T, S] with Modifiable

    Permalink

    Stores elements of a monoid.

    Stores elements of a monoid.

    Incrementally computes an aggregation of the stored elements, using a binary associative operator. The aggregation can be accessed with the signal method.

  7. class RBinaryHeap[T] extends Modifiable

    Permalink

    Reactive binary heap.

    Reactive binary heap.

    Exposes a signal head, used to probe or subscribe to changes to the first element in the heap.

    T

    type of the elements in the heap

  8. trait RCatamorph[T, S] extends RContainer[S]

    Permalink

    Reactive catamorphs are containers that maintain the aggregation of their elements.

    Reactive catamorphs are containers that maintain the aggregation of their elements.

    T

    type of the aggregation

    S

    type of the elements

  9. trait RContainer[T] extends Subscription

    Permalink

    Base class for reactive containers.

    Base class for reactive containers.

    Reactive container is a collection of elements that exposes event streams that emit events about incremental changes to the underlying containers.

    Every reactive container has output event streams inserts and removes. When an element is inserted or removed, these streams emit events. A container may also have an input stream, which is not exposed, but may be unsubscribed from by calling unsubscribe. Finally, a container has a size and foreach methods. These basic primitives are used to implement all other methods.

    Other methods return event streams that generally emit the initial value after being subscribed to. It is therefore legal to call toEmpty on such event streams and query them.

    T

    type of the elements in the container

  10. class RFlatHashMap[K, V] extends RContainer[K] with Modifiable

    Permalink

    A reactive hash map based on open addressing.

    A reactive hash map based on open addressing.

    Both type parameters are specialized. It is best to use this class when either both keys and values are primitives, or are both references.

    K

    type of the keys

    V

    type of the values

  11. class RHashMap[K, V >: Null <: AnyRef] extends RMap[K, V] with Modifiable

    Permalink

    A reactive hash map.

    A reactive hash map.

    In addition to standard inserts and removes, and other container event streams, reactive hash maps expose event streams with elements at specific keys.

    K

    type of the keys in the map, specialized

    V

    type of the values in the map, must be a reference parameter

  12. class RHashMatrix[T] extends Matrix[T] with Modifiable

    Permalink

    A reactive hash matrix.

    A reactive hash matrix.

    T

    type of the keys in the map, specialized

  13. class RHashSet[T] extends RContainer[T] with Modifiable

    Permalink

    A reactive hash set.

    A reactive hash set.

    T

    type of the elements in the set

  14. trait RMap[K, V] extends RContainer[K]

    Permalink

    Base class for reactive maps.

    Base class for reactive maps.

    Reactive map is a collection of pairs of elements that exposes event streams of map keys with hints that are values mapped to those keys.

    K

    type of the keys in the map

    V

    type of the values in the map

  15. class RQuadMatrix[T] extends Matrix[T] with Modifiable

    Permalink

    A reactive quad matrix.

    A reactive quad matrix.

    T

    type of the keys in the map, specialized

  16. class RRing[T] extends AnyRef

    Permalink
  17. class SignalCatamorph[T] extends RCatamorph[T, Signal[T]]

    Permalink

    Catamorph of signal values.

    Catamorph of signal values.

    Aggregates a bunch of signals using a regular catamorph. A regular catamorph aggregates a set of values of one type, and exposes a signal that is their aggregation. A signal catamorph aggregates a set of signals of some type, and exposes a signal that is the aggregation of the signals it contains. The difference is that when any of the signal values changes, the output signal also changes. This is not the case with a regular catamorph, which only updates itself when a value is inserted or removed.

    Example:

    Signal(1)--|
               +--Signal(3)
    Signal(2)--|
    
    -- after change --
    
    Signal(3)--|
               +--Signal(5) -> updated!
    Signal(2)--|
    T

    type of values inside the signals

Value Members

  1. object AbelianCatamorph

    Permalink
  2. object CommuteCatamorph

    Permalink
  3. object MonoidCatamorph

    Permalink
  4. object RContainer

    Permalink
  5. object RFlatHashMap

    Permalink
  6. object RHashMap

    Permalink
  7. object RHashMatrix

    Permalink
  8. object RHashSet

    Permalink
  9. object RMap

    Permalink
  10. object RQuadMatrix

    Permalink
  11. object SignalCatamorph extends LowSignalCatamorph

    Permalink
  12. implicit def events2ops[T](self: Events[T]): EventsOps[T]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped