Scala Library
|
|
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
|
|