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
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. 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
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. 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
  12. 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
  13. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  16. 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
  17. val queue: Queue[A]

    Permalink
  18. val size: Int

    Permalink
  19. 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
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    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