Packages

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])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val capacity: Int
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def isFull: Boolean

    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
    Definition Classes
    Any
  12. def maxOfElements(implicit num: Numeric[A]): A

    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

    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
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def push(elem: A): RingBufferQueue[A]

    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]
  19. val size: Int
  20. def sumElements(implicit num: Numeric[A]): A

    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
    Definition Classes
    AnyRef
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RingBuffer[A]

Inherited from AnyRef

Inherited from Any

Ungrouped