Scala Library Documentation
|
|
scala/concurrent/QueueModule.scala
]
trait
QueueModule[a]
extends
AnyRefType Summary | |
abstract type
|
t
Type of queues.
|
Method Summary | |
abstract def
|
append
(l : t, x : a) : t
Append an element to a queue.
|
abstract def
|
extractFirst
(l : t, p : (a) => Boolean) : Option[(a, t)]
Extract an element satisfying a predicate from a queue.
|
abstract def
|
make
: t
Create an empty queue.
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Type Details |
Method Details |
abstract
def
make : t
Scala Library Documentation
|
|