Packages

object Bottom extends Stack[Nothing]

The empty stack bottom

Linear Supertypes
Stack[Nothing], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bottom
  2. Stack
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++[B >: Nothing](pushStack: Stack[B]): Stack[B]

    S++T result of pushing the whole stack T as is on top of the stack S.

    S++T result of pushing the whole stack T as is on top of the stack S.

    Definition Classes
    Stack
  4. def :+[B >: Nothing](push: B): Stack[B]

    S:+b result of pushing b on top of the stack S.

    S:+b result of pushing b on top of the stack S.

    Definition Classes
    Stack
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def drop(n: Int): Bottom.type

    Select all elements except the top n elements of this stack, or empty if there are not that many.

    Select all elements except the top n elements of this stack, or empty if there are not that many.

    Definition Classes
    BottomStack
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def find(p: (Nothing) ⇒ Boolean): Option[Nothing]

    Find the top-most element satisfying p, if any

    Find the top-most element satisfying p, if any

    Definition Classes
    Stack
  13. def fold[B](z: B)(f: (B, Nothing) ⇒ B): B

    Fold the elements of this stack by f starting with z at the Bottom.

    Fold the elements of this stack by f starting with z at the Bottom.

    Definition Classes
    Stack
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def isEmpty: Boolean

    Whether this stack is empty

    Whether this stack is empty

    Definition Classes
    BottomStack
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def length: Int

    Number of elements on this stack

    Number of elements on this stack

    Definition Classes
    Stack
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def split[B >: Nothing](p: (B) ⇒ Boolean): (Stack[B], Stack[B])

    Splits the stack at first occurrence of an element next s.t.

    Splits the stack at first occurrence of an element next s.t. p(next) = true; p is placed in the later stack.

    Definition Classes
    Stack
    Example:
    1. (A B C D E).split(C) = ( (A,B), (C, D, E) )

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def tail: Nothing

    Tail of this stack, i.e.

    Tail of this stack, i.e. all but top element, or error if empty.

    Definition Classes
    BottomStack
  25. def take(n: Int): Bottom.type

    Select only the top n elements of this stack, or less if there are not that many.

    Select only the top n elements of this stack, or less if there are not that many.

    Definition Classes
    BottomStack
  26. def toList: List[Nothing]

    Convert stack A,B,C where top = A to the list A :: B :: C :: Nil

    Convert stack A,B,C where top = A to the list A :: B :: C :: Nil

    Definition Classes
    Stack
  27. def toString(): String
    Definition Classes
    Stack → AnyRef → Any
  28. def top: Nothing

    Top element of this stack or error if empty.

    Top element of this stack or error if empty.

    Definition Classes
    BottomStack
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Stack[Nothing]

Inherited from AnyRef

Inherited from Any

Ungrouped