org.widok

ReadDict

Related Doc: package widok

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
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Definition Classes
    DeltaDict

Concrete 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. def all(value: B): ReadChannel[Boolean]

    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]

    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

    Definition Classes
    Key
    See also

    value$

  7. final def asInstanceOf[T0]: T0

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

    Definition Classes
    DeltaDict
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contains(value: B): ReadChannel[Boolean]

    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.

  11. def count(value: B): ReadChannel[Int]

    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.

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

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

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

    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

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

    Row exists where f returns true

    Row exists where f returns true

    Definition Classes
    PollDictKey
  16. def filter(f: (B) ⇒ Boolean): DeltaDict[A, B]

    Only include elements for which f is true

    Only include elements for which f is true

    Definition Classes
    DeltaDictFilter
  17. def filter$(f: ((A, B)) ⇒ Boolean): ReadDict[A, B]

    Only include elements for which f is true

    Only include elements for which f is true

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

    Definition Classes
    Filter
  19. def finalize(): Unit

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

    returns

    Row for which f returns true

    Definition Classes
    PollDictKey
  21. def forall(f: (B) ⇒ Boolean): ReadChannel[Boolean]

    Checks whether f is true for all elements

    Checks whether f is true for all elements

    Definition Classes
    Filter
    See also

    exists

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

    For all rows f returns true

    For all rows f returns true

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

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

    Value associated to key

    Value associated to key

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

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

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

    Returns true if key is defined

    Returns true if key is defined

    Definition Classes
    PollDictKey
  28. def isEmpty: ReadChannel[Boolean]

    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.

  29. def isEmpty$: Boolean

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

    Definition Classes
    Any
  31. def keys: DeltaBufSet[A]

    Returns key set

    Returns key set

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

    Returns key set

    Returns key set

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

    Applies f on each value

    Applies f on each value

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

    Applies f on each key

    Applies f on each key

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

    Definition Classes
    AnyRef
  36. def nonEmpty: ReadChannel[Boolean]

    Negation of isEmpty

    Negation of isEmpty

    Definition Classes
    Size
  37. def nonEmpty$: Boolean

    Definition Classes
    PollDictEmpty
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

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

    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
  41. def size: ReadChannel[Int]

    Definition Classes
    DeltaDictSize
    Note

    State channels: Produce when a new child is attached and if the size changes. In org.widok.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.

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

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

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

    Convert dictionary to buffer

    Convert dictionary to buffer

    Definition Classes
    PollDictKey
  45. def toMap: Map[A, B]

    Converts dictionary to map *

    Converts dictionary to map *

    Definition Classes
    PollDictKey
  46. def toString(): String

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

    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

    Value associated to key

    Value associated to key

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

    Returns all values

    Returns all values

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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