Instance Constructors
-
new
NodeBuffer()
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
-
-
-
-
-
-
-
-
def
+=(elem1: Node, elem2: Node, elems: Node*): NodeBuffer.this.type
-
-
-
-
-
-
-
def
-=(elem1: Node, elem2: Node, elems: Node*): NodeBuffer.this.type
-
def
/:[B](z: B)(op: (B, Node) ⇒ B): B
-
-
def
:\[B](z: B)(op: (Node, B) ⇒ B): B
-
final
def
==(arg0: Any): Boolean
-
-
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate[B](z: ⇒ B)(seqop: (B, Node) ⇒ B, combop: (B, B) ⇒ B): B
-
-
def
append(elems: Node*): Unit
-
-
def
apply(idx: Int): Node
-
def
applyOrElse[A1 <: Int, B1 >: Node](x: A1, default: (A1) ⇒ B1): B1
-
-
final
def
asInstanceOf[T0]: T0
-
def
canEqual(that: Any): Boolean
-
def
clear(): Unit
-
-
-
-
-
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ Node
-
def
contains[A1 >: Node](elem: A1): Boolean
-
def
containsSlice[B](that: GenSeq[B]): Boolean
-
def
copy(m: Int, n: Int, len: Int): Unit
-
def
copyToArray[B >: Node](xs: Array[B], start: Int, len: Int): Unit
-
def
copyToArray[B >: Node](xs: Array[B]): Unit
-
def
copyToArray[B >: Node](xs: Array[B], start: Int): Unit
-
def
copyToBuffer[B >: Node](dest: Buffer[B]): Unit
-
-
-
-
-
-
-
-
def
endsWith[B](that: GenSeq[B]): Boolean
-
def
ensureSize(n: Int): Unit
-
-
-
-
-
-
def
finalize(): Unit
-
-
-
-
def
fold[A1 >: Node](z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft[B](z: B)(op: (B, Node) ⇒ B): B
-
def
foldRight[B](z: B)(op: (Node, B) ⇒ B): B
-
-
def
foreach[U](f: (Node) ⇒ U): Unit
-
-
final
def
getClass(): Class[_]
-
-
-
def
hasDefiniteSize: Boolean
-
def
hashCode(): Int
-
def
head: Node
-
-
def
indexOf[B >: Node](elem: B, from: Int): Int
-
def
indexOf[B >: Node](elem: B): Int
-
def
indexOfSlice[B >: Node](that: GenSeq[B], from: Int): Int
-
def
indexOfSlice[B >: Node](that: GenSeq[B]): Int
-
-
-
def
indices: collection.immutable.Range
-
-
val
initialSize: Int
-
-
def
insert(n: Int, elems: Node*): Unit
-
-
-
def
isDefinedAt(idx: Int): Boolean
-
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
isTraversableAgain: Boolean
-
-
def
last: Node
-
def
lastIndexOf[B >: Node](elem: B, end: Int): Int
-
def
lastIndexOf[B >: Node](elem: B): Int
-
def
lastIndexOfSlice[B >: Node](that: GenSeq[B], end: Int): Int
-
def
lastIndexOfSlice[B >: Node](that: GenSeq[B]): Int
-
def
lastIndexWhere(p: (Node) ⇒ Boolean, end: Int): Int
-
def
lastIndexWhere(p: (Node) ⇒ Boolean): Int
-
-
def
length: Int
-
def
lengthCompare(len: Int): Int
-
-
-
-
def
max[B >: Node](implicit cmp: Ordering[B]): Node
-
def
maxBy[B](f: (Node) ⇒ B)(implicit cmp: Ordering[B]): Node
-
def
min[B >: Node](implicit cmp: Ordering[B]): Node
-
def
minBy[B](f: (Node) ⇒ B)(implicit cmp: Ordering[B]): Node
-
def
mkString: String
-
def
mkString(sep: String): String
-
def
mkString(start: String, sep: String, end: String): String
-
-
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
def
padTo[B >: Node, That](len: Int, elem: B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
-
-
-
-
def
patch[B >: Node, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
-
-
-
def
prepend(elems: Node*): Unit
-
-
def
product[B >: Node](implicit num: Numeric[B]): B
-
def
reduce[A1 >: Node](op: (A1, A1) ⇒ A1): A1
-
def
reduceLeft[B >: Node](op: (B, Node) ⇒ B): B
-
def
reduceLeftOption[B >: Node](op: (B, Node) ⇒ B): Option[B]
-
def
reduceOption[A1 >: Node](op: (A1, A1) ⇒ A1): Option[A1]
-
def
reduceRight[B >: Node](op: (Node, B) ⇒ B): B
-
def
reduceRightOption[B >: Node](op: (Node, B) ⇒ B): Option[B]
-
def
reduceToSize(sz: Int): Unit
-
def
remove(n: Int): Node
-
def
remove(n: Int, count: Int): Unit
-
-
-
-
-
def
reverseMap[B, That](f: (Node) ⇒ B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
-
-
def
runWith[U](action: (Node) ⇒ U): (Int) ⇒ Boolean
-
-
def
scan[B >: Node, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
-
def
scanLeft[B, That](z: B)(op: (B, Node) ⇒ B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
-
def
scanRight[B, That](z: B)(op: (Node, B) ⇒ B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
-
def
segmentLength(p: (Node) ⇒ Boolean, from: Int): Int
-
-
def
size: Int
-
var
size0: Int
-
def
sizeHint(len: Int): Unit
-
-
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
-
-
-
-
-
-
-
-
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
-
def
startsWith[B](that: GenSeq[B]): Boolean
-
def
stringPrefix: String
-
def
sum[B >: Node](implicit num: Numeric[B]): B
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
-
-
-
-
-
-
def
toArray[B >: Node](implicit arg0: ClassTag[B]): Array[B]
-
def
toBuffer[A1 >: Node]: Buffer[A1]
-
-
-
-
-
-
def
toMap[T, U](implicit ev: <:<[Node, (T, U)]): Map[T, U]
-
-
def
toSet[B >: Node]: Set[B]
-
def
toStream: collection.immutable.Stream[Node]
-
def
toString(): String
-
-
-
-
-
def
trimEnd(n: Int): Unit
-
def
trimStart(n: Int): Unit
-
-
def
unzip[A1, A2](implicit asPair: (Node) ⇒ (A1, A2)): (ArrayBuffer[A1], ArrayBuffer[A2])
-
def
unzip3[A1, A2, A3](implicit asTriple: (Node) ⇒ (A1, A2, A3)): (ArrayBuffer[A1], ArrayBuffer[A2], ArrayBuffer[A3])
-
def
update(idx: Int, elem: Node): Unit
-
def
updated[B >: Node, That](index: Int, elem: B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
-
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
-
def
zipAll[B, A1 >: Node, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], (A1, B), That]): That
-
Deprecated Value Members
-
def
<<(cmd: Message[Node]): Unit
-
Inherited from ScalaVersionSpecificNodeBuffer
Inherited from HasNewBuilder[Node, scala.collection.mutable.ArrayBuffer[scala.xml.Node] @scala.annotation.unchecked.uncheckedVariance]
This class acts as a Buffer for nodes. If it is used as a sequence of nodes
Seq[Node]
, it must be ensured that no updates occur after that point, becausescala.xml.Node
is assumed to be immutable.Despite this being a sequence, don't use it as key in a hashtable. Calling the hashcode function will result in a runtime error.