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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Rope
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def +(that: Rope): Rope
- abstract def charAt(idx: Int): Char
- abstract def depth: Int
- abstract def filter(f: (Char) ⇒ Boolean): Rope
- abstract def flatMap(f: (Char) ⇒ Rope): Rope
- abstract def foldLeft[Acc](zero: Acc)(f: (Acc, Char) ⇒ Acc): Acc
- abstract def foldRight[Acc](zero: Acc)(f: (Char, Acc) ⇒ Acc): Acc
- abstract def foreach(f: (Char) ⇒ Unit): Unit
- abstract def map(f: (Char) ⇒ Char): Rope
- abstract def size: Int
- abstract def splitAt(idx: Int): (Rope, Rope)
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(c: Char): Rope
- def +(a: Array[Char]): Rope
- def +(s: String): Rope
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def delete(start: Int, length: Int): Rope
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def insertAt(idx: Int, that: Rope): Rope
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def substring(start: Int): Rope
- def substring(start: Int, length: Int): Rope
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withFilter(f: (Char) ⇒ Boolean): Rope
Gnieh Tekstlib
Gnieh Tekstlib is a library grouping standard classes and packages allowing people to work with texts and documents.
Package Structure
gnieh.diffdiff manipulation,gnieh.hyphenhyphenation for text in any language,gnieh.stringstrings manipulation for text processing,gnieh.mustachelightweight mustache template engine,gnieh.pppretty printing related classes,gnieh.regexregular expressions manipulation.