Packages

sealed abstract class Rope extends AnyRef

Rope data structure as a binary tree of character arrays. First described in Ropes: an Alternative to Strings by Hans-J. Boehm, Russ Atkinson and Michael Plass.

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

Abstract Value Members

  1. abstract def +(that: Rope): Rope
  2. abstract def charAt(idx: Int): Char
  3. abstract def depth: Int
  4. abstract def filter(f: (Char) ⇒ Boolean): Rope
  5. abstract def flatMap(f: (Char) ⇒ Rope): Rope
  6. abstract def foldLeft[Acc](zero: Acc)(f: (Acc, Char) ⇒ Acc): Acc
  7. abstract def foldRight[Acc](zero: Acc)(f: (Char, Acc) ⇒ Acc): Acc
  8. abstract def foreach(f: (Char) ⇒ Unit): Unit
  9. abstract def map(f: (Char) ⇒ Char): Rope
  10. abstract def size: Int
  11. abstract def splitAt(idx: Int): (Rope, Rope)

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(c: Char): Rope
  4. def +(a: Array[Char]): Rope
  5. def +(s: String): Rope
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def delete(start: Int, length: Int): Rope
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. def insertAt(idx: Int, that: Rope): Rope
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def substring(start: Int): Rope
  21. def substring(start: Int, length: Int): Rope
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withFilter(f: (Char) ⇒ Boolean): Rope

Inherited from AnyRef

Inherited from Any

Ungrouped