Trait/Object

pl.metastack.metarx

DeltaDict

Related Docs: object DeltaDict | package metarx

Permalink

trait DeltaDict[A, B] extends Size with Filter[[x]DeltaDict[x, B], A, B] with MapDict[DeltaDict, A, B] with Key[A, B]

Linear Supertypes
Key[A, B], MapDict[DeltaDict, A, B], Filter[[x]DeltaDict[x, B], A, B], Size, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DeltaDict
  2. Key
  3. MapDict
  4. Filter
  5. Size
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val changes: ReadChannel[Delta[A, B]]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def all(value: B): ReadChannel[Boolean]

    Permalink

    All elements are equal to value

    All elements are equal to value

    Definition Classes
    Filter
    See also

    any

  5. def any(value: B): ReadChannel[Boolean]

    Permalink

    At least one element is equal to value

    At least one element is equal to value

    Definition Classes
    Filter
    See also

    all

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def buffer: Dict[A, B]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def count(value: B): ReadChannel[Int]

    Permalink

    Count number of occurrence of value.

    Count number of occurrence of value.

    Definition Classes
    Filter
    Note

    Channels: With every matching element, the counter is increased.

    ,

    Buffers: When the element is removed, the counter is decreased.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exists(f: (B) ⇒ Boolean): ReadChannel[Boolean]

    Permalink

    Checks for existence of a value for which f is true

    Checks for existence of a value for which f is true

    Definition Classes
    Filter
    Note

    Channels: false as long as f returns false, then true

    ,

    Buffers: false as long as no row exists where f is true, then true

    See also

    forall

  13. def filter(f: (B) ⇒ Boolean): DeltaDict[A, B]

    Permalink

    Only include elements for which f is true

    Only include elements for which f is true

    Definition Classes
    DeltaDictFilter
  14. def filterNot(f: (B) ⇒ Boolean): DeltaDict[A, B]

    Permalink
    Definition Classes
    Filter
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def forall(f: (B) ⇒ Boolean): ReadChannel[Boolean]

    Permalink

    Checks whether f is true for all elements

    Checks whether f is true for all elements

    Definition Classes
    Filter
    See also

    exists

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def has(value: B): ReadChannel[Boolean]

    Permalink

    Stream contains at least one occurrence of value.

    Stream contains at least one occurrence of value.

    Definition Classes
    Filter
    Note

    Channels: Once true, will never produce any other value.

    ,

    Buffers: When the item is removed, it will produce false.

  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def isEmpty: ReadChannel[Boolean]

    Permalink

    Definition Classes
    Size
    Note

    Partial channels: Produce true if the current value is cleared.

    ,

    Channels: Produce false with the first received value.

    ,

    Buffers: Produce a new value once a row is added or removed.

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def keys: DeltaBufSet[A]

    Permalink

    Returns key set

    Returns key set

    Definition Classes
    DeltaDictKey
  23. def map[C](f: (A, B) ⇒ C): DeltaDict[A, C]

    Permalink

    Applies f on each value

    Applies f on each value

    Definition Classes
    DeltaDictMapDict
  24. def mapKeys[C](f: (A) ⇒ C): DeltaDict[C, B]

    Permalink

    Applies f on each key

    Applies f on each key

    Definition Classes
    DeltaDictMapDict
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def nonEmpty: ReadChannel[Boolean]

    Permalink

    Negation of isEmpty

    Negation of isEmpty

    Definition Classes
    Size
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def partition(f: (B) ⇒ Boolean): (DeltaDict[A, B], DeltaDict[A, B])

    Permalink

    Partitions stream into two sub-stream

    Partitions stream into two sub-stream

    The left stream contains all elements for which f is true, all other elements go to the right stream.

    Definition Classes
    Filter
  30. def size: ReadChannel[Int]

    Permalink

    Definition Classes
    DeltaDictSize
    Note

    State channels: Produce when a new child is attached and if the size changes. In Opt the size is reset if the value is cleared.

    ,

    Channels: The size is only produced in response to each received value on the channel.

    ,

    Buffers: Produce the row count once a row is added or removed.

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def value(key: A): ReadPartialChannel[B]

    Permalink

    Observes key and encapsulate its value states in a partial channel

    Observes key and encapsulate its value states in a partial channel

    Definition Classes
    DeltaDictKey
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Key[A, B]

Inherited from MapDict[DeltaDict, A, B]

Inherited from Filter[[x]DeltaDict[x, B], A, B]

Inherited from Size

Inherited from AnyRef

Inherited from Any

Ungrouped