Showing content from https://www.scala-lang.org/api/2.13.10/scala/collection/mutable/StringBuilder.html below:
Scala Standard Library 2.13.10 - scala.collection.mutable.StringBuilder
final class StringBuilder extends AbstractSeq[Char] with ReusableBuilder[Char, String] with IndexedSeq[Char] with IndexedSeqOps[Char, IndexedSeq, StringBuilder] with IterableFactoryDefaults[Char, IndexedSeq] with CharSequence with Serializable
î·î
Ordering
- Alphabetic
- By Inheritance
Inherited
- StringBuilder
- Serializable
- CharSequence
- IndexedSeq
- IndexedSeqOps
- IndexedSeq
- IndexedSeqOps
- ReusableBuilder
- Builder
- Growable
- Clearable
- AbstractSeq
- Seq
- SeqOps
- Cloneable
- Cloneable
- Iterable
- AbstractSeq
- Seq
- Equals
- SeqOps
- PartialFunction
- Function1
- AbstractIterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
Implicitly
- by iterableOnceExtensionMethods
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
Visibility
- Public
- Protected
Value Members
- î
final def !=(arg0: Any): Boolean
- î
final def ##: Int
- î
def +(other: String): String
- î
final def ++[B >: Char](suffix: IterableOnce[B]): IndexedSeq[B]
- î
final def ++:[B >: Char](prefix: IterableOnce[B]): IndexedSeq[B]
- î
def ++=(s: String): StringBuilder.this.type
- î
final def ++=(xs: IterableOnce[Char]): StringBuilder.this.type
- î
final def +:[B >: Char](elem: B): IndexedSeq[B]
- î
final def +=(elem: Char): StringBuilder.this.type
- î
def ->[B](y: B): (StringBuilder, B)
- î
final def :+[B >: Char](elem: B): IndexedSeq[B]
- î
final def :++[B >: Char](suffix: IterableOnce[B]): IndexedSeq[B]
- î
final def ==(arg0: Any): Boolean
- î
def addAll(s: String): StringBuilder.this.type
- î
def addAll(xs: IterableOnce[Char]): StringBuilder.this.type
- î
def addOne(x: Char): StringBuilder.this.type
- î
final def addString(b: StringBuilder): b.type
- î
final def addString(b: StringBuilder, sep: String): b.type
- î
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
- î
def andThen[C](k: PartialFunction[Char, C]): PartialFunction[Int, C]
- î
def andThen[C](k: (Char) => C): PartialFunction[Int, C]
- î
def append(x: Char): StringBuilder.this.type
- î
def append(x: Double): StringBuilder.this.type
- î
def append(x: Float): StringBuilder.this.type
- î
def append(x: Long): StringBuilder.this.type
- î
def append(x: Int): StringBuilder.this.type
- î
def append(x: Short): StringBuilder.this.type
- î
def append(x: Byte): StringBuilder.this.type
- î
def append(x: Boolean): StringBuilder.this.type
- î
def append(s: StringBuilder): StringBuilder.this.type
- î
def append(cs: CharSequence): StringBuilder.this.type
- î
def append(s: String): StringBuilder.this.type
- î
def append(x: Any): StringBuilder.this.type
- î
def appendAll(xs: Array[Char], offset: Int, len: Int): StringBuilder.this.type
- î
def appendAll(xs: Array[Char]): StringBuilder.this.type
- î
def appendAll(xs: IterableOnce[Char]): StringBuilder.this.type
- î
def appendAll(xs: String): StringBuilder.this.type
- î
def appended[B >: Char](elem: B): IndexedSeq[B]
- î
def appendedAll[B >: Char](suffix: IterableOnce[B]): IndexedSeq[B]
- î
def apply(i: Int): Char
- î
def applyOrElse[A1 <: Int, B1 >: Char](x: A1, default: (A1) => B1): B1
- î
final def asInstanceOf[T0]: T0
- î
def canEqual(that: Any): Boolean
- î
def capacity: Int
- î
def charAt(index: Int): Char
- î
def chars(): IntStream
- î
def className: String
- î
def clear(): Unit
- î
def clone(): StringBuilder
- î
def codePoints(): IntStream
- î
final def coll: StringBuilder.this.type
- î
def collect[B](pf: PartialFunction[Char, B]): IndexedSeq[B]
- î
def collectFirst[B](pf: PartialFunction[Char, B]): Option[B]
- î
def combinations(n: Int): Iterator[StringBuilder]
- î
def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, Char]
- î
def compose[A](g: (A) => Int): (A) => Char
- î
final def concat[B >: Char](suffix: IterableOnce[B]): IndexedSeq[B]
- î
def contains[A1 >: Char](elem: A1): Boolean
- î
def containsSlice[B >: Char](that: collection.Seq[B]): Boolean
- î
def copyToArray[B >: Char](xs: Array[B], start: Int, len: Int): Int
- î
def copyToArray[B >: Char](xs: Array[B], start: Int): Int
- î
def copyToArray[B >: Char](xs: Array[B]): Int
- î
def corresponds[B](that: collection.Seq[B])(p: (Char, B) => Boolean): Boolean
- î
def corresponds[B](that: IterableOnce[B])(p: (Char, B) => Boolean): Boolean
- î
def count(p: (Char) => Boolean): Int
- î
def delete(start: Int, end: Int): StringBuilder.this.type
- î
def deleteCharAt(index: Int): StringBuilder.this.type
- î
def diff[B >: Char](that: collection.Seq[B]): StringBuilder
- î
def distinct: StringBuilder
- î
def distinctBy[B](f: (Char) => B): StringBuilder
- î
def drop(n: Int): StringBuilder
- î
def dropRight(n: Int): StringBuilder
- î
def dropWhile(p: (Char) => Boolean): StringBuilder
- î
def elementWise: ElementWiseExtractor[Int, Char]
- î
def empty: StringBuilder
- î
def endsWith[B >: Char](that: collection.Iterable[B]): Boolean
- î
def ensureCapacity(newCapacity: Int): Unit
- î
def ensuring(cond: (StringBuilder) => Boolean, msg: => Any): StringBuilder
- î
def ensuring(cond: (StringBuilder) => Boolean): StringBuilder
- î
def ensuring(cond: Boolean, msg: => Any): StringBuilder
- î
def ensuring(cond: Boolean): StringBuilder
- î
final def eq(arg0: AnyRef): Boolean
- î
def equals(o: Any): Boolean
- î
def exists(p: (Char) => Boolean): Boolean
- î
def filter(pred: (Char) => Boolean): StringBuilder
- î
def filterNot(pred: (Char) => Boolean): StringBuilder
- î
def finalize(): Unit
- î
def find(p: (Char) => Boolean): Option[Char]
- î
def findLast(p: (Char) => Boolean): Option[Char]
- î
def flatMap[B](f: (Char) => IterableOnce[B]): IndexedSeq[B]
- î
def flatten[B](implicit asIterable: (Char) => IterableOnce[B]): IndexedSeq[B]
- î
def fold[A1 >: Char](z: A1)(op: (A1, A1) => A1): A1
- î
def foldLeft[B](z: B)(op: (B, Char) => B): B
- î
def foldRight[B](z: B)(op: (Char, B) => B): B
- î
def forall(p: (Char) => Boolean): Boolean
- î
def foreach[U](f: (Char) => U): Unit
- î
def fromSpecific(coll: IterableOnce[Char]): StringBuilder
- î
final def getClass(): Class[_ <: AnyRef]
- î
def groupBy[K](f: (Char) => K): immutable.Map[K, StringBuilder]
- î
def groupMap[K, B](key: (Char) => K)(f: (Char) => B): immutable.Map[K, IndexedSeq[B]]
- î
def groupMapReduce[K, B](key: (Char) => K)(f: (Char) => B)(reduce: (B, B) => B): immutable.Map[K, B]
- î
def grouped(size: Int): Iterator[StringBuilder]
- î
def hashCode(): Int
- î
def head: Char
- î
def headOption: Option[Char]
- î
def indexOf(str: String, fromIndex: Int): Int
- î
def indexOf(str: String): Int
- î
def indexOf[B >: Char](elem: B): Int
- î
def indexOf[B >: Char](elem: B, from: Int): Int
- î
def indexOfSlice[B >: Char](that: collection.Seq[B]): Int
- î
def indexOfSlice[B >: Char](that: collection.Seq[B], from: Int): Int
- î
def indexWhere(p: (Char) => Boolean): Int
- î
def indexWhere(p: (Char) => Boolean, from: Int): Int
- î
def indices: immutable.Range
- î
def init: StringBuilder
- î
def inits: Iterator[StringBuilder]
- î
def insert(index: Int, x: Char): StringBuilder.this.type
- î
def insert(index: Int, x: Double): StringBuilder.this.type
- î
def insert(index: Int, x: Float): StringBuilder.this.type
- î
def insert(index: Int, x: Long): StringBuilder.this.type
- î
def insert(index: Int, x: Int): StringBuilder.this.type
- î
def insert(index: Int, x: Short): StringBuilder.this.type
- î
def insert(index: Int, x: Byte): StringBuilder.this.type
- î
def insert(index: Int, x: Boolean): StringBuilder.this.type
- î
def insert(index: Int, x: String): StringBuilder.this.type
- î
def insert(index: Int, x: Any): StringBuilder.this.type
- î
def insertAll(index: Int, xs: Array[Char]): StringBuilder.this.type
- î
def insertAll(index: Int, xs: IterableOnce[Char]): StringBuilder.this.type
- î
def insertAll(index: Int, str: Array[Char], offset: Int, len: Int): StringBuilder.this.type
- î
def intersect[B >: Char](that: collection.Seq[B]): StringBuilder
- î
def isDefinedAt(idx: Int): Boolean
- î
def isEmpty: Boolean
- î
final def isInstanceOf[T0]: Boolean
- î
def isTraversableAgain: Boolean
- î
def iterableFactory: SeqFactory[IndexedSeq]
- î
def iterator: Iterator[Char]
- î
def knownSize: Int
- î
def last: Char
- î
def lastIndexOf(str: String, fromIndex: Int): Int
- î
def lastIndexOf(str: String): Int
- î
def lastIndexOf[B >: Char](elem: B, end: Int = length - 1): Int
- î
def lastIndexOfSlice[B >: Char](that: collection.Seq[B]): Int
- î
def lastIndexOfSlice[B >: Char](that: collection.Seq[B], end: Int): Int
- î
def lastIndexWhere(p: (Char) => Boolean): Int
- î
def lastIndexWhere(p: (Char) => Boolean, end: Int): Int
- î
def lastOption: Option[Char]
- î
def lazyZip[B](that: collection.Iterable[B]): LazyZip2[Char, B, StringBuilder.this.type]
- î
def length(): Int
- î
final def lengthCompare(that: collection.Iterable[_]): Int
- î
final def lengthCompare(len: Int): Int
- î
final def lengthIs: SizeCompareOps
- î
def length_=(n: Int): Unit
- î
def lift: (Int) => Option[Char]
- î
def map[B](f: (Char) => B): IndexedSeq[B]
- î
def mapInPlace(f: (Char) => Char): StringBuilder.this.type
- î
def mapResult[NewTo](f: (String) => NewTo): Builder[Char, NewTo]
- î
def max[B >: Char](implicit ord: math.Ordering[B]): Char
- î
def maxBy[B](f: (Char) => B)(implicit cmp: math.Ordering[B]): Char
- î
def maxByOption[B](f: (Char) => B)(implicit cmp: math.Ordering[B]): Option[Char]
- î
def maxOption[B >: Char](implicit ord: math.Ordering[B]): Option[Char]
- î
def min[B >: Char](implicit ord: math.Ordering[B]): Char
- î
def minBy[B](f: (Char) => B)(implicit cmp: math.Ordering[B]): Char
- î
def minByOption[B](f: (Char) => B)(implicit cmp: math.Ordering[B]): Option[Char]
- î
def minOption[B >: Char](implicit ord: math.Ordering[B]): Option[Char]
- î
final def mkString: String
- î
final def mkString(sep: String): String
- î
final def mkString(start: String, sep: String, end: String): String
- î
final def ne(arg0: AnyRef): Boolean
- î
def newSpecificBuilder: Builder[Char, StringBuilder]
- î
def nonEmpty: Boolean
- î
final def notify(): Unit
- î
final def notifyAll(): Unit
- î
def occCounts[B](sq: collection.Seq[B]): Map[B, Int]
- î
def orElse[A1 <: Int, B1 >: Char](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- î
def padTo[B >: Char](len: Int, elem: B): IndexedSeq[B]
- î
def partition(p: (Char) => Boolean): (StringBuilder, StringBuilder)
- î
def partitionMap[A1, A2](f: (Char) => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])
- î
def patch[B >: Char](from: Int, other: IterableOnce[B], replaced: Int): IndexedSeq[B]
- î
def permutations: Iterator[StringBuilder]
- î
def prepended[B >: Char](elem: B): IndexedSeq[B]
- î
def prependedAll[B >: Char](prefix: IterableOnce[B]): IndexedSeq[B]
- î
def product[B >: Char](implicit num: math.Numeric[B]): B
- î
def reduce[B >: Char](op: (B, B) => B): B
- î
def reduceLeft[B >: Char](op: (B, Char) => B): B
- î
def reduceLeftOption[B >: Char](op: (B, Char) => B): Option[B]
- î
def reduceOption[B >: Char](op: (B, B) => B): Option[B]
- î
def reduceRight[B >: Char](op: (Char, B) => B): B
- î
def reduceRightOption[B >: Char](op: (Char, B) => B): Option[B]
- î
def replace(start: Int, end: Int, str: String): StringBuilder.this.type
- î
def result(): String
- î
def reverse: StringBuilder
- î
def reverseInPlace(): StringBuilder.this.type
- î
def reverseIterator: Iterator[Char]
- î
def reversed: collection.Iterable[Char]
- î
def runWith[U](action: (Char) => U): (Int) => Boolean
- î
def sameElements[B >: Char](that: IterableOnce[B]): Boolean
- î
def scan[B >: Char](z: B)(op: (B, B) => B): IndexedSeq[B]
- î
def scanLeft[B](z: B)(op: (B, Char) => B): IndexedSeq[B]
- î
def scanRight[B](z: B)(op: (Char, B) => B): IndexedSeq[B]
- î
def search[B >: Char](elem: B, from: Int, to: Int)(implicit ord: math.Ordering[B]): SearchResult
- î
def search[B >: Char](elem: B)(implicit ord: math.Ordering[B]): SearchResult
- î
def segmentLength(p: (Char) => Boolean, from: Int): Int
- î
final def segmentLength(p: (Char) => Boolean): Int
- î
def setCharAt(index: Int, ch: Char): StringBuilder.this.type
- î
def setLength(len: Int): Unit
- î
final def size: Int
- î
final def sizeCompare(that: collection.Iterable[_]): Int
- î
final def sizeCompare(otherSize: Int): Int
- î
final def sizeHint(coll: IterableOnce[_], delta: Int = 0): Unit
- î
def sizeHint(size: Int): Unit
- î
final def sizeHintBounded(size: Int, boundingColl: collection.Iterable[_]): Unit
- î
final def sizeIs: SizeCompareOps
- î
def slice(from: Int, until: Int): StringBuilder
- î
def sliding(size: Int, step: Int): Iterator[StringBuilder]
- î
def sliding(size: Int): Iterator[StringBuilder]
- î
def sortBy[B](f: (Char) => B)(implicit ord: Ordering[B]): StringBuilder
- î
def sortInPlace[B >: Char]()(implicit ord: Ordering[B]): StringBuilder.this.type
- î
def sortInPlaceBy[B](f: (Char) => B)(implicit ord: Ordering[B]): StringBuilder.this.type
- î
def sortInPlaceWith(lt: (Char, Char) => Boolean): StringBuilder.this.type
- î
def sortWith(lt: (Char, Char) => Boolean): StringBuilder
- î
def sorted[B >: Char](implicit ord: Ordering[B]): StringBuilder
- î
def span(p: (Char) => Boolean): (StringBuilder, StringBuilder)
- î
def splitAt(n: Int): (StringBuilder, StringBuilder)
- î
def startsWith[B >: Char](that: IterableOnce[B], offset: Int = 0): Boolean
- î
def stepper[S <: Stepper[_]](implicit shape: StepperShape[Char, S]): S with EfficientSplit
- î
def stringPrefix: String
- î
def subSequence(start: Int, end: Int): CharSequence
- î
def substring(start: Int, end: Int): String
- î
def substring(start: Int): String
- î
def sum[B >: Char](implicit num: math.Numeric[B]): B
- î
final def synchronized[T0](arg0: => T0): T0
- î
def tail: StringBuilder
- î
def tails: Iterator[StringBuilder]
- î
def take(n: Int): StringBuilder
- î
def takeRight(n: Int): StringBuilder
- î
def takeWhile(p: (Char) => Boolean): StringBuilder
- î
def tapEach[U](f: (Char) => U): StringBuilder
- î
def to[C1](factory: Factory[Char, C1]): C1
- î
def toArray[B >: Char](implicit ct: ClassTag[B]): Array[B]
- î
final def toBuffer[B >: Char]: Buffer[B]
- î
def toCharArray: Array[Char]
- î
def toIndexedSeq: immutable.IndexedSeq[Char]
- î
def toList: immutable.List[Char]
- î
def toMap[K, V](implicit ev: <:<[Char, (K, V)]): immutable.Map[K, V]
- î
def toSeq: immutable.Seq[Char]
- î
def toSet[B >: Char]: immutable.Set[B]
- î
def toString(): String
- î
def toVector: immutable.Vector[Char]
- î
def transpose[B](implicit asIterable: (Char) => collection.Iterable[B]): IndexedSeq[IndexedSeq[B]]
- î
def unapply(a: Int): Option[Char]
- î
val underlying: java.lang.StringBuilder
- î
def unzip[A1, A2](implicit asPair: (Char) => (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
- î
def unzip3[A1, A2, A3](implicit asTriple: (Char) => (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
- î
def update(idx: Int, elem: Char): Unit
- î
def updated[B >: Char](index: Int, elem: B): IndexedSeq[B]
- î
def view: IndexedSeqView[Char]
- î
final def wait(): Unit
- î
final def wait(arg0: Long, arg1: Int): Unit
- î
final def wait(arg0: Long): Unit
- î
def withFilter(p: (Char) => Boolean): WithFilter[Char, [_]IndexedSeq[_]]
- î
def zip[B](that: IterableOnce[B]): IndexedSeq[(Char, B)]
- î
def zipAll[A1 >: Char, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): IndexedSeq[(A1, B)]
- î
def zipWithIndex: IndexedSeq[(Char, Int)]
Deprecated Value Members
- î
final def +=(elem1: Char, elem2: Char, elems: Char*): StringBuilder.this.type
- î
def /:[B](z: B)(op: (B, Char) => B): B
- î
final def /:[B](z: B)(op: (B, Char) => B): B
- î
def :\[B](z: B)(op: (Char, B) => B): B
- î
final def :\[B](z: B)(op: (Char, B) => B): B
- î
def aggregate[B](z: => B)(seqop: (B, Char) => B, combop: (B, B) => B): B
- î
def collectFirst[B](f: PartialFunction[Char, B]): Option[B]
- î
def companion: IterableFactory[[_]IndexedSeq[_]]
- î
def copyToBuffer(dest: Buffer[Char]): Unit
- î
final def copyToBuffer[B >: Char](dest: Buffer[B]): Unit
- î
def count(f: (Char) => Boolean): Int
- î
def exists(f: (Char) => Boolean): Boolean
- î
def filter(f: (Char) => Boolean): Iterator[Char]
- î
def find(p: (Char) => Boolean): Option[Char]
- î
def flatMap[B](f: (Char) => IterableOnce[B]): IterableOnce[B]
- î
def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- î
def foldLeft[B](z: B)(op: (B, Char) => B): B
- î
def foldRight[B](z: B)(op: (Char, B) => B): B
- î
def forall(f: (Char) => Boolean): Boolean
- î
def foreach[U](f: (Char) => U): Unit
- î
def formatted(fmtstr: String): String
- î
def hasDefiniteSize: Boolean
- î
def isEmpty: Boolean
- î
def map[B](f: (Char) => B): IterableOnce[B]
- î
def max(implicit ord: math.Ordering[Char]): Char
- î
def maxBy[B](f: (Char) => B)(implicit cmp: math.Ordering[B]): Char
- î
def min(implicit ord: math.Ordering[Char]): Char
- î
def minBy[B](f: (Char) => B)(implicit cmp: math.Ordering[B]): Char
- î
def mkString: String
- î
def mkString(sep: String): String
- î
def mkString(start: String, sep: String, end: String): String
- î
def nonEmpty: Boolean
- î
final def prefixLength(p: (Char) => Boolean): Int
- î
def product(implicit num: math.Numeric[Char]): Char
- î
def reduce(f: (Char, Char) => Char): Char
- î
def reduceLeft(f: (Char, Char) => Char): Char
- î
def reduceLeftOption(f: (Char, Char) => Char): Option[Char]
- î
def reduceOption(f: (Char, Char) => Char): Option[Char]
- î
def reduceRight(f: (Char, Char) => Char): Char
- î
def reduceRightOption(f: (Char, Char) => Char): Option[Char]
- î
final def repr: StringBuilder
- î
final def reverseContents(): StringBuilder.this.type
- î
def reverseMap[B](f: (Char) => B): IndexedSeq[B]
- î
def sameElements[B >: A](that: IterableOnce[B]): Boolean
- î
def seq: StringBuilder.this.type
- î
def size: Int
- î
def sum(implicit num: math.Numeric[Char]): Char
- î
def to[C1](factory: Factory[Char, C1]): C1
- î
def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- î
def toBuffer[B >: A]: Buffer[B]
- î
def toIndexedSeq: collection.IndexedSeq[Char]
- î
final def toIterable: collection.Iterable[Char]
- î
final def toIterable: StringBuilder.this.type
- î
def toIterator: Iterator[Char]
- î
final def toIterator: Iterator[Char]
- î
def toList: immutable.List[Char]
- î
def toMap[K, V](implicit ev: <:<[Char, (K, V)]): immutable.Map[K, V]
- î
def toSeq: immutable.Seq[Char]
- î
def toSet[B >: A]: immutable.Set[B]
- î
def toStream: immutable.Stream[Char]
- î
final def toStream: immutable.Stream[Char]
- î
final def toTraversable: collection.Traversable[Char]
- î
final def toTraversable: collection.Traversable[Char]
- î
def toVector: immutable.Vector[Char]
- î
final def transform(f: (Char) => Char): StringBuilder.this.type
- î
final def union[B >: Char](that: collection.Seq[B]): IndexedSeq[B]
- î
def view(from: Int, until: Int): IndexedSeqView[Char]
- î
def withFilter(f: (Char) => Boolean): Iterator[Char]
- î
def â[B](y: B): (StringBuilder, B)
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4