Class/Object

pl.metastack.metarx

BufSet

Related Docs: object BufSet | package metarx

Permalink

class BufSet[T] extends ReadBufSet[T] with WriteBufSet[T] with StateBufSet[T]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufSet
  2. StateBufSet
  3. Disposable
  4. WriteBufSet
  5. BufSet
  6. ReadBufSet
  7. DeltaBufSet
  8. Filter
  9. Map
  10. Size
  11. PollBufSet
  12. BufSet
  13. Empty
  14. Count
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BufSet()

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++=(values: Set[T]): Unit

    Permalink

    Definition Classes
    BufSet
    See also

    insertAll

  4. def +=(value: T): Unit

    Permalink

    Definition Classes
    BufSet
    See also

    insert

  5. def --=(values: Set[T]): Unit

    Permalink

    Definition Classes
    BufSet
    See also

    removeAll

  6. def -=(value: T): Unit

    Permalink

    Definition Classes
    BufSet
    See also

    remove

  7. final def ==(arg0: Any): Boolean

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

    Permalink

    All elements are equal to value

    All elements are equal to value

    Definition Classes
    Filter
    See also

    any

  9. def any(value: T): 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

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. val changes: RootChannel[Delta[T]]

    Permalink
    Definition Classes
    StateBufSet
  12. def clear(): Unit

    Permalink

    Removes all elements

    Removes all elements

    Definition Classes
    WriteBufSetBufSet
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def contains$(value: T): Boolean

    Permalink
    Definition Classes
    PollBufSetCount
  15. def count(value: T): 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.

  16. def dispose(): Unit

    Permalink
    Definition Classes
    StateBufSetDisposable
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def exists(f: (T) ⇒ 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

  20. def filter(f: (T) ⇒ Boolean): DeltaBufSet[T]

    Permalink

    Only include elements for which f is true

    Only include elements for which f is true

    Definition Classes
    DeltaBufSetFilter
  21. def filterNot(f: (T) ⇒ Boolean): DeltaBufSet[T]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def forall(f: (T) ⇒ 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

  24. def foreach(f: (T) ⇒ Unit): Unit

    Permalink
    Definition Classes
    PollBufSet
  25. def get: Set[T]

    Permalink
    Definition Classes
    PollBufSet
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. def has(value: T): 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.

  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def insert(value: T): Unit

    Permalink

    Adds value

    Adds value

    Definition Classes
    WriteBufSetBufSet
  30. def insertAll(values: Set[T]): Unit

    Permalink

    Insert values

    Insert values

    Definition Classes
    WriteBufSetBufSet
  31. def insertIfNotExists(value: T): Unit

    Permalink
  32. 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.

  33. def isEmpty$: Boolean

    Permalink
    Definition Classes
    PollBufSetEmpty
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def map[C](f: (T) ⇒ C): DeltaBufSet[C]

    Permalink

    Applies f on each element

    Applies f on each element

    Definition Classes
    DeltaBufSetMap
  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
    PollBufSetEmpty
  39. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  41. def partition(f: (T) ⇒ Boolean): (DeltaBufSet[T], DeltaBufSet[T])

    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 remove(value: T): Unit

    Permalink

    Removes value

    Removes value

    Definition Classes
    WriteBufSetBufSet
  43. def removeAll(values: Set[T]): Unit

    Permalink

    Remove values

    Remove values

    Definition Classes
    WriteBufSetBufSet
  44. def removeIfExists(value: T): Unit

    Permalink
  45. def replace(reference: T, element: T): Unit

    Permalink
    Definition Classes
    WriteBufSet
  46. def set(values: Set[T]): Unit

    Permalink

    Replace all elements with values

    Replace all elements with values

    Definition Classes
    WriteBufSetBufSet
  47. def size: ReadChannel[Int]

    Permalink

    Definition Classes
    DeltaBufSetSize
    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.

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

    Permalink
    Definition Classes
    AnyRef
  49. def toSeq: ReadChannel[Seq[T]]

    Permalink
    Definition Classes
    PollBufSet
  50. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  51. def toggle(state: Boolean, values: T*): Unit

    Permalink

    Insert all elements from values if state true, otherwise remove

    Insert all elements from values if state true, otherwise remove

    Definition Classes
    WriteBufSetBufSet
  52. def update(f: (T) ⇒ T): Unit

    Permalink
  53. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def toSet$: Set[T]

    Permalink
    Definition Classes
    PollBufSetBufSet
    Annotations
    @deprecated
    Deprecated

    (Since version v0.1.5) Use get

Inherited from StateBufSet[T]

Inherited from Disposable

Inherited from WriteBufSet[T]

Inherited from reactive.mutate.BufSet[T]

Inherited from ReadBufSet[T]

Inherited from DeltaBufSet[T]

Inherited from Filter[DeltaBufSet, T, T]

Inherited from Map[DeltaBufSet, T]

Inherited from Size

Inherited from PollBufSet[T]

Inherited from reactive.poll.BufSet[T]

Inherited from Empty

Inherited from Count[T]

Inherited from AnyRef

Inherited from Any

Ungrouped