Class/Object

polynote.data

Rope

Related Docs: object Rope | package data

Permalink

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

    Permalink
  2. abstract def charAt(idx: Int): Char

    Permalink
  3. abstract def depth: Int

    Permalink
  4. abstract def filter(f: (Char) ⇒ Boolean): Rope

    Permalink
  5. abstract def flatMap(f: (Char) ⇒ Rope): Rope

    Permalink
  6. abstract def foldLeft[Acc](zero: Acc)(f: (Acc, Char) ⇒ Acc): Acc

    Permalink
  7. abstract def foldRight[Acc](zero: Acc)(f: (Char, Acc) ⇒ Acc): Acc

    Permalink
  8. abstract def foreach(f: (Char) ⇒ Unit): Unit

    Permalink
  9. abstract def map(f: (Char) ⇒ Char): Rope

    Permalink
  10. abstract def size: Int

    Permalink
  11. abstract def splitAt(idx: Int): (Rope, Rope)

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(c: Char): Rope

    Permalink
  4. def +(a: Array[Char]): Rope

    Permalink
  5. def +(s: String): Rope

    Permalink
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def delete(start: Int, length: Int): Rope

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    Rope → AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def insertAt(idx: Int, that: Rope): Rope

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def substring(start: Int): Rope

    Permalink
  21. def substring(start: Int, length: Int): Rope

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withEdit(edit: ContentEdit): Rope

    Permalink
  28. def withEdits(edits: ContentEdits): Rope

    Permalink
  29. def withFilter(f: (Char) ⇒ Boolean): Rope

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped