Packages

final class TQueue[A] extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TQueue
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
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. 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 equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def isEmpty: USTM[Boolean]

    Checks if the queue is empty.

  13. def isFull: USTM[Boolean]

    Checks if the queue is at capacity.

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def last: USTM[A]

    Views the last element inserted into the queue, retrying if the queue is empty.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def offer(a: A): USTM[Unit]

    Offers the specified value to the queue, retrying if the queue is at capacity.

  20. def offerAll(as: Iterable[A]): USTM[Iterable[A]]

    Offers each of the elements in the specified collection to the queue up to the maximum capacity of the queue, retrying if there is not capacity in the queue for all of these elements.

    Offers each of the elements in the specified collection to the queue up to the maximum capacity of the queue, retrying if there is not capacity in the queue for all of these elements. Returns any remaining elements in the specified collection.

  21. def peek: USTM[A]

    Views the next element in the queue without removing it, retrying if the queue is empty.

  22. def peekOption: USTM[Option[A]]

    Views the next element in the queue without removing it, returning None if the queue is empty.

  23. def poll: USTM[Option[A]]

    Takes a single element from the queue, returning None if the queue is empty.

  24. def seek(f: (A) ⇒ Boolean): USTM[A]

    Drops elements from the queue while they do not satisfy the predicate, taking and returning the first element that does satisfy the predicate.

    Drops elements from the queue while they do not satisfy the predicate, taking and returning the first element that does satisfy the predicate. Retries if no elements satisfy the predicate.

  25. def size: USTM[Int]

    Returns the number of elements currently in the queue.

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def take: USTM[A]

    Takes a single element from the queue, retrying if the queue is empty.

  28. def takeAll: USTM[List[A]]

    Takes all elements from the queue.

  29. def takeUpTo(max: Int): USTM[List[A]]

    Takes up to the specified maximum number of elements from the queue.

  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped