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() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. 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
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. 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
  12. 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
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. 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
  17. val queue: Queue[A]
  18. val size: Int
  19. 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
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RingBuffer[A]

Inherited from AnyRef

Inherited from Any

Ungrouped