| 
 | 
          Scala 1.3.0.7 | |||
| Method Summary | |
| def ++=(iter: Iterable[A]): UnitPushes all elements provided by an Iterableobject
  on top of the stack. | |
| def ++=(it: Iterator[A]): UnitPushes all elements provided by an iterator on top of the stack. | |
| def +=(elem: A): UnitPushes a single element on top of the stack. | |
| def clear: UnitRemoves all elements from the stack. | |
| 
        override | def clone(): Stack[A]This method clones the stack. | 
| 
        override | def elements: Iterator[A]Returns an iterator over all elements on the stack. | 
| 
        override | def equals(that: Any): BooleanChecks if two stacks are structurally identical. | 
| 
        override | def hashCode(): IntThe hashCode method always yields an error, since it is not safe to use mutable stacks as keys in hash tables. | 
| def isEmpty: BooleanChecks if the stack is empty. | |
| def pop: ARemoves the top element from the stack. | |
| def push(elems: A*): UnitPushes a sequence of elements on top of the stack. | |
| 
        override | def toList: List[A]Creates a list of all stack elements in FIFO order. | 
| 
        override | def toString(): StringReturns a textual representation of a stack as a string. | 
| def top: AReturns the top element of the stack. | |
| 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, first, get, last, len, length, prependElem, reset, stringPrefix | 
| Method Detail | 
def isEmpty: Boolean
def +=(elem: A): Unit
elem - 
  the element to push onto the stack
     
  def ++=(iter: Iterable[A]): Unit
Iterable object
  on top of the stack. The elements are pushed in the order they
  are given out by the iterator.
  iter - 
  an iterable object
     
  def ++=(it: Iterator[A]): Unit
iter - 
  an iterator
     
  def push(elems: A*): Unit
elems - 
  a sequence of elements
     
  def top: A
def pop: A
def clear: Unit
override def elements: Iterator[A]
override def toList: List[A]
override def equals(that: Any): Boolean
override def hashCode(): Int
override def toString(): String
override def clone(): Stack[A]
| 
 | 
          Scala 1.3.0.7 | |||