|
Scala
1.2.0.1 |
|||
Field 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[Tuple2[a,t]]
Extract an element satisfying a predicate from a queue. |
abstract
|
def make: t
Create an empty queue. |
Methods inherited from java/lang/Object-class |
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait |
Methods inherited from scala/Any-class |
!=, ==, asInstanceOf, isInstanceOf, match |
Field Detail |
abstract type t
Method Detail |
abstract def make: t
abstract def append(l: t, x: a): t
abstract def extractFirst(l: t, p: (a) => Boolean): Option[Tuple2[a,t]]
|
Scala
1.2.0.1 |
|||