Class/Object

it.agilelab.bigdata.wasp.data

RingBufferQueue

Related Docs: object RingBufferQueue | package data

Permalink

case class RingBufferQueue[A](capacity: Int, size: Int, queue: Queue[A]) extends RingBuffer[A] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, RingBuffer[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RingBufferQueue
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RingBuffer
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RingBufferQueue(capacity: Int, size: Int, queue: Queue[A])

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val capacity: Int

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def isFull: Boolean

    Permalink

    Checks if the ring buffer is full or not

    Checks if the ring buffer is full or not

    returns

    true if it is full, false otherwise

    Definition Classes
    RingBufferQueueRingBuffer
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def maxOfElements(implicit num: Numeric[A]): A

    Permalink

    Returns the maximum among the elements in this buffer.

    Returns the maximum among the elements in this buffer.

    num

    implicit parameter

    returns

    The maximum element in the buffer

    Definition Classes
    RingBufferQueueRingBuffer
  13. def minOfElements(implicit num: Numeric[A]): A

    Permalink

    Returns the minimum among the elements in this buffer.

    Returns the minimum among the elements in this buffer.

    num

    implicit parameter

    returns

    The minimimum element in the buffer

    Definition Classes
    RingBufferQueueRingBuffer
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  17. def push(elem: A): RingBufferQueue[A]

    Permalink

    Push an element into the array buffer

    Push an element into the array buffer

    elem

    the element to be added in the ring buffer

    returns

    A new, immutable, RingBuffer with the new element added

    Definition Classes
    RingBufferQueueRingBuffer
  18. val queue: Queue[A]

    Permalink
  19. val size: Int

    Permalink
  20. def sumElements(implicit num: Numeric[A]): A

    Permalink

    Compute the sum of the elements.

    Compute the sum of the elements.

    num

    implicit parameter

    returns

    The sum of the elements

    Definition Classes
    RingBufferQueueRingBuffer
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RingBuffer[A]

Inherited from AnyRef

Inherited from Any

Ungrouped