Trait

pl.metastack.metarx

ReadDict

Related Doc: package metarx

Permalink

trait ReadDict[A, B] extends PollDict[A, B] with DeltaDict[A, B]

Linear Supertypes
DeltaDict[A, B], MapDict[DeltaDict, A, B], Filter[[x]DeltaDict[x, B], A, B], Size, PollDict[A, B], Key[A, B], FilterMap[ReadDict, A, B], Empty, Key[A, B], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReadDict
  2. DeltaDict
  3. MapDict
  4. Filter
  5. Size
  6. PollDict
  7. Key
  8. FilterMap
  9. Empty
  10. Key
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink
    Definition Classes
    DeltaDict

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. def apply(key: A): B

    Permalink

    Definition Classes
    Key
    See also

    value$

  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    DeltaDict
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. 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.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. 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

  14. def exists$(f: ((A, B)) ⇒ Boolean): Boolean

    Permalink

    Row exists where f returns true

    Row exists where f returns true

    Definition Classes
    PollDictKey
  15. 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
  16. def filter$(f: ((A, B)) ⇒ Boolean): ReadDict[A, B]

    Permalink

    Only include elements for which f is true

    Only include elements for which f is true

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def find$(f: ((A, B)) ⇒ Boolean): Option[(A, B)]

    Permalink

    returns

    Row for which f returns true

    Definition Classes
    PollDictKey
  20. 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

  21. def forall$(f: ((A, B)) ⇒ Boolean): Boolean

    Permalink

    For all rows f returns true

    For all rows f returns true

    Definition Classes
    PollDictKey
  22. def foreach(f: ((A, B)) ⇒ Unit): Unit

    Permalink
    Definition Classes
    PollDict
  23. def get(key: A): Option[B]

    Permalink

    Value associated to key

    Value associated to key

    Definition Classes
    PollDictKey
  24. def get: Map[A, B]

    Permalink
    Definition Classes
    PollDict
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. 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.

  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  28. def isDefinedAt$(key: A): Boolean

    Permalink

    Returns true if key is defined

    Returns true if key is defined

    Definition Classes
    PollDictKey
  29. 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.

  30. def isEmpty$: Boolean

    Permalink
    Definition Classes
    PollDictEmpty
  31. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Returns key set

    Returns key set

    Definition Classes
    DeltaDictKey
  33. def keys$: Set[A]

    Permalink

    Returns key set

    Returns key set

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

    Permalink

    Applies f on each value

    Applies f on each value

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

    Permalink

    Applies f on each key

    Applies f on each key

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

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

    Permalink

    Negation of isEmpty

    Negation of isEmpty

    Definition Classes
    Size
  38. def nonEmpty$: Boolean

    Permalink
    Definition Classes
    PollDictEmpty
  39. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  41. 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
  42. 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.

  43. def sortBy[C](f: (A, B) ⇒ C)(implicit ordering: Ordering[C]): ReadBuffer[(A, B)]

    Permalink
    Definition Classes
    PollDict
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toBuffer: ReadBuffer[(A, B)]

    Permalink

    Convert dictionary to buffer

    Convert dictionary to buffer

    Definition Classes
    PollDictKey
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. 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
  48. def value$(key: A): B

    Permalink

    Value associated to key

    Value associated to key

    Definition Classes
    PollDictKey
  49. def values$: Iterable[B]

    Permalink

    Returns all values

    Returns all values

    Definition Classes
    PollDictKey
  50. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def toMap: Map[A, B]

    Permalink

    Converts dictionary to map *

    Converts dictionary to map *

    Definition Classes
    PollDictKey
    Annotations
    @deprecated
    Deprecated

    (Since version v0.1.5) Use get

Inherited from DeltaDict[A, B]

Inherited from MapDict[DeltaDict, A, B]

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

Inherited from Size

Inherited from PollDict[A, B]

Inherited from Key[A, B]

Inherited from FilterMap[ReadDict, A, B]

Inherited from Empty

Inherited from Key[A, B]

Inherited from AnyRef

Inherited from Any

Ungrouped