org.widok

Buffer

Related Docs: object Buffer | package widok

trait Buffer[T] extends ReadBuffer[T] with WriteBuffer[T] with StateBuffer[T]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Buffer
  2. StateBuffer
  3. Disposable
  4. WriteBuffer
  5. Buffer
  6. ReadBuffer
  7. PollBuffer
  8. AbsoluteOrder
  9. MapExtended
  10. FilterOrdered
  11. Aggregate
  12. RelativeOrder
  13. Filter
  14. Find
  15. Filter
  16. Iterate
  17. RelativeOrder
  18. Index
  19. DeltaBuffer
  20. Map
  21. Size
  22. AnyRef
  23. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def ++=(buf: Seq[T]): Unit

    Definition Classes
    Buffer
    See also

    appendAll

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

    Definition Classes
    Buffer
    See also

    append

  5. def -(other: ReadBufSet[T]): ReadBuffer[T]

    Definition Classes
    FilterOrdered
  6. def --=(agg: Seq[T]): Unit

    Definition Classes
    Buffer
    See also

    removeAll

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

    Definition Classes
    Buffer
    See also

    remove

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

    Definition Classes
    AnyRef → Any
  9. def after(value: T): ReadChannel[T]

    Definition Classes
    PollBufferRelativeOrder
    Note

    Channels: Value that is produced right after each value

    ,

    Buffers: Current row after value

  10. def after$(value: T): T

    Row after value

    Row after value

    Definition Classes
    PollBufferRelativeOrder
  11. def afterOption(value: T): ReadPartialChannel[T]

    Definition Classes
    PollBufferRelativeOrder
    See also

    after

  12. def afterOption$(value: T): Option[T]

    Row after value with the possibility of non-existence

    Row after value with the possibility of non-existence

    Definition Classes
    PollBufferRelativeOrder
  13. def all(value: T): ReadChannel[Boolean]

    All elements are equal to value

    All elements are equal to value

    Definition Classes
    Filter
    See also

    any

  14. def any(value: T): ReadChannel[Boolean]

    At least one element is equal to value

    At least one element is equal to value

    Definition Classes
    Filter
    See also

    all

  15. def append(element: T): Unit

    Appends element

    Appends element

    Definition Classes
    WriteBufferBuffer
  16. def appendAll(buf: Seq[T]): Unit

    Appends all elements from buf

    Appends all elements from buf

    Definition Classes
    WriteBufferBuffer
  17. def apply(index: Int): T

    Definition Classes
    Index
    See also

    value

  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. def before(value: T): ReadChannel[T]

    Definition Classes
    PollBufferRelativeOrder
    Note

    Channels: Value that is produced right before each value

    ,

    Buffers: Current row before value

  20. def before$(value: T): T

    Row before value

    Row before value

    Definition Classes
    PollBufferRelativeOrder
  21. def beforeOption(value: T): ReadPartialChannel[T]

    Definition Classes
    PollBufferRelativeOrder
    See also

    before

  22. def beforeOption$(value: T): Option[T]

    Row before value with the possibility of non-existence

    Row before value with the possibility of non-existence

    Definition Classes
    PollBufferRelativeOrder
  23. def buffer: ReadBuffer[T]

    Definition Classes
    DeltaBuffer
  24. val changes: RootChannel[Delta[T]]

    Definition Classes
    StateBuffer
  25. def clear(): Unit

    Remove all rows

    Remove all rows

    Definition Classes
    WriteBufferBuffer
  26. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def concat(buf: ReadBuffer[T]): ReadBuffer[T]

    Definition Classes
    PollBuffer
  28. def contains(value: T): 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.

  29. def count(value: T): 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.

  30. def diff(other: ReadBufSet[T]): ReadBuffer[T]

    Remove all elements from other

    Remove all elements from other

    Definition Classes
    PollBufferFilterOrdered
  31. def dispose(): Unit

    Definition Classes
    StateBufferDisposable
  32. def distinct: ReadBuffer[T]

    Filters out (merges) duplicates

    Filters out (merges) duplicates

    Definition Classes
    PollBufferAggregate
  33. def distinct$: ReadBuffer[T]

    Filters out duplicates

    Filters out duplicates

    Definition Classes
    PollBufferFilter
  34. def drop(count: Int): ReadBuffer[T]

    Definition Classes
    PollBuffer
  35. final def eq(arg0: AnyRef): Boolean

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

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

  38. def exists$(f: (T) ⇒ Boolean): Boolean

    Definition Classes
    PollBuffer
  39. def filter(f: (T) ⇒ Boolean): DeltaBuffer[T]

    TODO Could this be implemented more efficiently without iterating over elements?

    TODO Could this be implemented more efficiently without iterating over elements?

    Definition Classes
    PollBufferFilter
  40. def filter$(f: (T) ⇒ Boolean): ReadBuffer[T]

    Only include elements for which f is true

    Only include elements for which f is true

    Definition Classes
    PollBufferFilter
  41. def filterNot(f: (T) ⇒ Boolean): DeltaBuffer[T]

    Definition Classes
    Filter
  42. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  43. def find(f: (T) ⇒ Boolean): ReadPartialChannel[T]

    Returns first matching row; if it gets deleted, returns next match.

    Returns first matching row; if it gets deleted, returns next match.

    Definition Classes
    PollBufferFind
  44. def find$(f: (T) ⇒ Boolean): Option[T]

    Finds first value for which f is true

    Finds first value for which f is true

    Definition Classes
    PollBufferFilter
  45. def flatMap[U](f: (T) ⇒ ReadBuffer[U]): ReadBuffer[U]

    Applies f on each element and flatten its result into the stream

    Applies f on each element and flatten its result into the stream

    Definition Classes
    PollBufferMapExtended
  46. def flatMapCh[U](f: (T) ⇒ ReadPartialChannel[U]): ReadBuffer[U]

    Definition Classes
    PollBuffer
  47. def flatMapSeq[U](f: (T) ⇒ Seq[U]): ReadBuffer[U]

    Definition Classes
    PollBufferMapExtended
    See also

    flatMap

  48. def foldLeft[U](acc: U)(f: (U, T) ⇒ U): ReadChannel[U]

    Definition Classes
    PollBuffer
  49. def forall(f: (T) ⇒ 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

  50. def forall$(f: (T) ⇒ Boolean): Boolean

    Definition Classes
    PollBuffer
  51. def foreach(f: (T) ⇒ Unit): Unit

    Iterates over all row values with the given function f

    Iterates over all row values with the given function f

    Definition Classes
    PollBufferIterate
  52. def get: Seq[T]

    All rows as a native type

    All rows as a native type

    Definition Classes
    PollBufferIndex
  53. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  55. def head: ReadChannel[T]

    Wraps first element in a channel

    Wraps first element in a channel

    Produce a value for the first row. If the list is empty, head does not produce any value. When the first row is deleted, the next row will be produced.

    Definition Classes
    PollBufferAbsoluteOrder
  56. def headOption: ReadPartialChannel[T]

    First element with the possibility of non-existence

    First element with the possibility of non-existence

    returns

    scala.Some with first row, or scala.None if the list is empty

    Definition Classes
    PollBufferAbsoluteOrder
  57. def indexOf(handle: T): Int

    Index of handle

    Index of handle

    Definition Classes
    PollBufferIndex
  58. def insertAfter(reference: T, element: T): Unit

    Inserts element after handle

    Inserts element after handle

    Definition Classes
    WriteBufferBuffer
  59. def insertBefore(reference: T, element: T): Unit

    Inserts element before handle

    Inserts element before handle

    Definition Classes
    WriteBufferBuffer
  60. def insertions: ReadChannel[T]

    Definition Classes
    DeltaBuffer
  61. 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.

  62. def isHead(element: T): ReadChannel[Boolean]

    Definition Classes
    PollBufferAbsoluteOrder
  63. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  64. def isLast(element: T): ReadChannel[Boolean]

    Definition Classes
    PollBufferAbsoluteOrder
  65. def last: ReadChannel[T]

    Definition Classes
    PollBufferAbsoluteOrder
  66. def lastOption: ReadPartialChannel[T]

    Last element with the possibility of non-existence

    Last element with the possibility of non-existence

    returns

    scala.Some with first row, or scala.None if the list is empty

    Definition Classes
    PollBufferAbsoluteOrder
  67. def map[U](f: (T) ⇒ U): DeltaBuffer[U]

    Unlike mapPure, stores mapping locally.

    Unlike mapPure, stores mapping locally. This is currently needed as widget objects are not immutable.

    Definition Classes
    DeltaBufferMap
  68. def mapPure[U](f: (T) ⇒ U): DeltaBuffer[U]

    Definition Classes
    DeltaBuffer
    Note

    f must not be side-effecting

  69. def mapTo[U](f: (T) ⇒ U): DeltaDict[T, U]

    Definition Classes
    DeltaBuffer
  70. final def ne(arg0: AnyRef): Boolean

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

    Negation of isEmpty

    Negation of isEmpty

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

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

    Definition Classes
    AnyRef
  74. def partialMap[U](f: PartialFunction[T, U]): ReadBuffer[U]

    Applies partial function f on each element; if the function is not defined for the current input, it is filtered out

    Applies partial function f on each element; if the function is not defined for the current input, it is filtered out

    Definition Classes
    PollBufferMapExtended
  75. def partition(f: (T) ⇒ Boolean): (DeltaBuffer[T], DeltaBuffer[T])

    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
  76. def partition$(f: (T) ⇒ Boolean): (ReadBuffer[T], ReadBuffer[T])

    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
    PollBufferFilter
  77. def prepend(element: T): Unit

    Prepends element

    Prepends element

    Definition Classes
    WriteBufferBuffer
  78. def removals: ReadChannel[T]

    Definition Classes
    DeltaBuffer
  79. def remove(element: T): Unit

    Removes row by its reference handle

    Removes row by its reference handle

    Definition Classes
    WriteBufferBuffer
  80. def removeAll(buf: Seq[T]): Unit

    Removes all elements from buf

    Removes all elements from buf

    Definition Classes
    WriteBufferBuffer
  81. def replace(reference: T, element: T): Unit

    Replaces value of reference by element

    Replaces value of reference by element

    Definition Classes
    WriteBufferBuffer
  82. def set(elements: Seq[T]): Unit

    Replaces contents with elements

    Replaces contents with elements

    Definition Classes
    WriteBufferBuffer
  83. def size: ReadChannel[Int]

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

  84. def span(f: (T) ⇒ Boolean): (ReadBuffer[T], ReadBuffer[T])

    Splits stream into two sub-streams

    Splits stream into two sub-streams

    The left stream contains all elements as long as f is true, all subsequent elements go to the right stream.

    Definition Classes
    PollBufferFilterOrdered
  85. def span$(f: (T) ⇒ Boolean): (ReadBuffer[T], ReadBuffer[T])

    Split container into two sub-containers

    Split container into two sub-containers

    The left container contains all elements if f is true, all subsequent elements go to the right container.

    Definition Classes
    PollBufferFilter
  86. def splitAt(element: T): (ReadBuffer[T], ReadBuffer[T])

    Definition Classes
    PollBufferAbsoluteOrder
  87. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  88. def tail: ReadBuffer[T]

    Definition Classes
    PollBufferAbsoluteOrder
  89. def take(count: Int): ReadBuffer[T]

    Definition Classes
    PollBuffer
  90. def takeUntil(ch: ReadChannel[_]): DeltaBuffer[T]

    Definition Classes
    DeltaBuffer
  91. def toSeq: ReadChannel[Seq[T]]

    Definition Classes
    PollBuffer
  92. def toString(): String

    Definition Classes
    PollBuffer → AnyRef → Any
  93. def update(f: (T) ⇒ T): Unit

  94. def value(index: Int): T

    N-th row

    N-th row

    Definition Classes
    PollBufferIndex
  95. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StateBuffer[T]

Inherited from Disposable

Inherited from WriteBuffer[T]

Inherited from reactive.mutate.Buffer[Seq, T]

Inherited from ReadBuffer[T]

Inherited from PollBuffer[T]

Inherited from AbsoluteOrder[ReadBuffer, T]

Inherited from MapExtended[ReadBuffer, T]

Inherited from FilterOrdered[ReadBuffer, T]

Inherited from Aggregate[ReadBuffer, T]

Inherited from RelativeOrder[T]

Inherited from Filter[DeltaBuffer, T, T]

Inherited from Find[T]

Inherited from Filter[ReadBuffer, T]

Inherited from Iterate[T]

Inherited from RelativeOrder[T]

Inherited from Index[Seq, Int, T]

Inherited from DeltaBuffer[T]

Inherited from Map[DeltaBuffer, T]

Inherited from Size

Inherited from AnyRef

Inherited from Any

Ungrouped