|
Scala 2
|
||
class
QueueModule
[ a ]
extends
java.lang.Object with
ScalaObjectDef Summary | |
def
append
( l : t , x : a )
: t
Append an element to a queue. |
|
def
extractFirst
( l : t , p : Function1 )
: Option
Extract an element satisfying a predicate from a queue. |
|
def
make
: t
Create an empty queue. |
Def Detail |
def
append
( l : t , x : a ) : t
def
extractFirst
( l : t , p : Function1 ) : Option
def
make
: t