| 
 | 
          Scala 1.3.0.7 | |||
Queue objects implement data structures that allow to
  insert and retrieve elements in a first-in-first-out (FIFO) manner.
 | Method Summary | |
| def ++=(iter: Iterable[A]): UnitAdds all elements provided by an Iterableobject
  at the end of the queue. | |
| def ++=(it: Iterator[A]): UnitAdds all elements provided by an iterator at the end of the queue. | |
| def +=(elem: A): UnitInserts a single element at the end of the queue. | |
| def clear: UnitRemoves all elements from the queue. | |
| 
        override | def clone(): Queue[A]This method clones the queue. | 
| def dequeue: AReturns the first element in the queue, and removes this element from the queue. | |
| def dequeueAll(p: (A) => Boolean): Seq[A]Returns all elements in the queue which satisfy the given predicate, and removes those elements from the queue. | |
| def dequeueFirst(p: (A) => Boolean): Option[A]Returns the first element in the queue which satisfies the given predicate, and removes this element from the queue. | |
| def enqueue(elems: A*): UnitAdds all elements to the queue. | |
| 
        override | def equals(that: Any): BooleanChecks if two queues are structurally identical. | 
| def front: AReturns the first element in the queue, or throws an error if there is no element contained in the queue. | |
| 
        override | def hashCode(): IntThe hashCode method always yields an error, since it is not safe to use mutable queues as keys in hash tables. | 
| def isEmpty: BooleanChecks if the queue is empty. | |
| 
        override | def toString(): StringReturns a textual representation of a queue as a string. | 
| Methods inherited from java/lang/Object-class | 
| eq, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait | 
| Methods inherited from scala/Any-class | 
| !=, ==, asInstanceOf, isInstanceOf, match | 
| Methods inherited from scala/Iterable-class | 
| /:, :\, exists, find, foldLeft, foldRight, forall, foreach, sameElements | 
| Methods inherited from scala/ScalaObject-class | 
| getType | 
| Methods inherited from scala/Seq-class | 
| copyToArray, drop, indexOf, isDefinedAt, lastIndexOf, subseq, take | 
| Methods inherited from scala/collection/mutable/MutableList-class | 
| appendElem, apply, elements, first, get, last, len, length, prependElem, reset, stringPrefix, toList | 
| Method Detail | 
def isEmpty: Boolean
def +=(elem: A): Unit
elem - 
  the element to insert
     
  def ++=(iter: Iterable[A]): Unit
Iterable object
  at the end of the queue. The elements are prepended in the order they
  are given out by the iterator.
iter - 
  an iterable object
     
  def ++=(it: Iterator[A]): Unit
it - 
  an iterator
     
  def enqueue(elems: A*): Unit
elems - 
  the elements to add.
     
  def dequeue: A
def dequeueFirst(p: (A) => Boolean): Option[A]
p - 
  the predicate used for choosing the first element
  def dequeueAll(p: (A) => Boolean): Seq[A]
p - 
  the predicate used for choosing elements
  def front: A
def clear: Unit
override def equals(that: Any): Boolean
override def hashCode(): Int
override def toString(): String
override def clone(): Queue[A]
| 
 | 
          Scala 1.3.0.7 | |||