final class BackStack[+A] extends AnyRef

A stack which allows to snoc, append, and pop in constant time, and generate an ImmArray in linear time.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BackStack
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

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

    O(1)

  4. def :++[B >: A](xs: ImmArray[B]): BackStack[B]

    O(1)

  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def canEqual(that: Any): Boolean

    O(1)

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(that: Any): Boolean

    O(n)

    O(n)

    Definition Classes
    BackStack → AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    BackStack → AnyRef → Any
  13. def isEmpty: Boolean

    O(1)

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val length: Int
  16. def map[B](f: (A) => B): BackStack[B]

    O(n)

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def nonEmpty: Boolean

    O(1)

  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. def pop: Option[(BackStack[A], A)]

    O(1)

  22. def reverseForeach(f: (A) => Unit): Unit

    O(n)

  23. def reverseIterator: Iterator[A]

    O(1)

    O(1)

    Note that this iterator produces the element in reverse order.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toFrontStack: FrontStack[A]

    O(n)

  26. def toImmArray: ImmArray[A]

    O(n)

  27. def toString(): String

    O(n)

    O(n)

    Definition Classes
    BackStack → AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped