class NodeBuffer extends ArrayBuffer[Node]
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, because scala.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.
- Version
1.0
- Alphabetic
- By Inheritance
- NodeBuffer
- ArrayBuffer
- Serializable
- Serializable
- CustomParallelizable
- ResizableArray
- IndexedSeq
- IndexedSeq
- Builder
- IndexedSeqOptimized
- IndexedSeqOptimized
- IndexedSeqLike
- IndexedSeqLike
- AbstractBuffer
- Buffer
- BufferLike
- Subtractable
- Scriptable
- Shrinkable
- Growable
- Clearable
- AbstractSeq
- Seq
- SeqLike
- Cloneable
- Cloneable
- Cloneable
- Iterable
- Traversable
- Mutable
- AbstractSeq
- Seq
- SeqLike
- GenSeq
- GenSeqLike
- PartialFunction
- Function1
- AbstractIterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- AbstractTraversable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NodeBuffer()
Type Members
-
class
Elements extends AbstractIterator[A] with collection.BufferedIterator[A] with Serializable
- Attributes
- protected
- Definition Classes
- IndexedSeqLike
- Annotations
- @SerialVersionUID()
-
type
Self = ArrayBuffer[Node]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&+(o: Any): NodeBuffer
Append given object to this buffer, returns reference on this
NodeBuffer
for convenience.Append given object to this buffer, returns reference on this
NodeBuffer
for convenience. Some rules apply: - If argumento
isnull
, it is ignored. - If it is anIterator
orIterable
, its elements will be added. - Ifo
is a node, it is added as it is. - If it is anything else, it gets wrapped in an scala.xml.Atom.- o
converts to an xml node and adds to this node buffer
- returns
this nodebuffer
-
def
++(xs: GenTraversableOnce[Node]): ArrayBuffer[Node]
- Definition Classes
- BufferLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
++
creates a new buffer. Use++=
to add an element from this buffer and return that buffer itself.
-
def
++[B >: Node, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: Node, That](that: collection.Traversable[B])(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: Node, That](that: collection.TraversableOnce[B])(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: collection.TraversableOnce[Node]): NodeBuffer.this.type
- Definition Classes
- ArrayBuffer → Growable
-
def
++=:(xs: collection.TraversableOnce[Node]): NodeBuffer.this.type
- Definition Classes
- ArrayBuffer → BufferLike
-
def
+:[B >: Node, That](elem: B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
+=(elem: Node): NodeBuffer.this.type
- Definition Classes
- ArrayBuffer → Builder → BufferLike → Growable
-
def
+=(elem1: Node, elem2: Node, elems: Node*): NodeBuffer.this.type
- Definition Classes
- Growable
-
def
+=:(elem: Node): NodeBuffer.this.type
- Definition Classes
- ArrayBuffer → BufferLike
-
def
-(elem1: Node, elem2: Node, elems: Node*): ArrayBuffer[Node]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new buffer. Use-=
to remove an element from this buffer and return that buffer itself.
-
def
-(elem: Node): ArrayBuffer[Node]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new buffer. Use-=
to remove an element from this buffer and return that buffer itself.
-
def
--(xs: GenTraversableOnce[Node]): ArrayBuffer[Node]
- Definition Classes
- BufferLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
--
creates a new buffer. Use--=
to remove an element from this buffer and return that buffer itself.
-
def
--=(xs: collection.TraversableOnce[Node]): NodeBuffer.this.type
- Definition Classes
- Shrinkable
-
def
-=(x: Node): NodeBuffer.this.type
- Definition Classes
- BufferLike → Shrinkable
-
def
-=(elem1: Node, elem2: Node, elems: Node*): NodeBuffer.this.type
- Definition Classes
- Shrinkable
-
def
/:[B](z: B)(op: (B, Node) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:+[B >: Node, That](elem: B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
:\[B](z: B)(op: (Node, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, Node) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[C](k: (Node) ⇒ C): PartialFunction[Int, C]
- Definition Classes
- PartialFunction → Function1
-
def
append(elems: Node*): Unit
- Definition Classes
- BufferLike
-
def
appendAll(xs: collection.TraversableOnce[Node]): Unit
- Definition Classes
- BufferLike
-
def
apply(idx: Int): Node
- Definition Classes
- ResizableArray → SeqLike → GenSeqLike → Function1
-
def
applyOrElse[A1 <: Int, B1 >: Node](x: A1, default: (A1) ⇒ B1): B1
- Definition Classes
- PartialFunction
-
val
array: Array[AnyRef]
- Attributes
- protected
- Definition Classes
- ResizableArray
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
clear(): Unit
- Definition Classes
- ArrayBuffer → Builder → BufferLike → Growable → Clearable
-
def
clone(): ArrayBuffer[Node]
- Definition Classes
- BufferLike → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[Node, B])(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[Node, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
combinations(n: Int): collection.Iterator[ArrayBuffer[Node]]
- Definition Classes
- SeqLike
-
def
companion: GenericCompanion[ArrayBuffer]
- Definition Classes
- ArrayBuffer → ResizableArray → IndexedSeq → IndexedSeq → Buffer → Seq → Iterable → Traversable → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ Node
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
contains[A1 >: Node](elem: A1): Boolean
- Definition Classes
- SeqLike
-
def
containsSlice[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike
-
def
copy(m: Int, n: Int, len: Int): Unit
- Attributes
- protected
- Definition Classes
- ResizableArray
-
def
copyToArray[B >: Node](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- ResizableArray → IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Node](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Node](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: Node](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
corresponds[B](that: GenSeq[B])(p: (Node, B) ⇒ Boolean): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
count(p: (Node) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
diff[B >: Node](that: GenSeq[B]): ArrayBuffer[Node]
- Definition Classes
- SeqLike → GenSeqLike
-
def
distinct: ArrayBuffer[Node]
- Definition Classes
- SeqLike → GenSeqLike
-
def
drop(n: Int): ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → IterableLike
-
def
dropWhile(p: (Node) ⇒ Boolean): ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
endsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
ensureSize(n: Int): Unit
- Attributes
- protected
- Definition Classes
- ResizableArray
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- GenSeqLike → Equals → Any
-
def
exists(p: (Node) ⇒ Boolean): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: (Node) ⇒ Boolean): ArrayBuffer[Node]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot(p: (Node) ⇒ Boolean): ArrayBuffer[Node]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (Node) ⇒ Boolean): Option[Node]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flatMap[B, That](f: (Node) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: (Node) ⇒ GenTraversableOnce[B]): ArrayBuffer[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: Node](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, Node) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (Node, B) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: (Node) ⇒ Boolean): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (Node) ⇒ U): Unit
- Definition Classes
- ResizableArray → IndexedSeqOptimized → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, ArrayBuffer[B]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: (Node) ⇒ K): Map[K, ArrayBuffer[Node]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): collection.Iterator[ArrayBuffer[Node]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- IndexedSeqLike → GenSeqLike → Any
-
def
head: Node
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
headOption: Option[Node]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
indexOf[B >: Node](elem: B, from: Int): Int
- Definition Classes
- GenSeqLike
-
def
indexOf[B >: Node](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
indexOfSlice[B >: Node](that: GenSeq[B], from: Int): Int
- Definition Classes
- SeqLike
-
def
indexOfSlice[B >: Node](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
indexWhere(p: (Node) ⇒ Boolean, from: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
indexWhere(p: (Node) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
indices: collection.immutable.Range
- Definition Classes
- SeqLike
-
def
init: ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
val
initialSize: Int
- Attributes
- protected
- Definition Classes
- ArrayBuffer → ResizableArray
-
def
inits: collection.Iterator[ArrayBuffer[Node]]
- Definition Classes
- TraversableLike
-
def
insert(n: Int, elems: Node*): Unit
- Definition Classes
- BufferLike
-
def
insertAll(n: Int, seq: collection.Traversable[Node]): Unit
- Definition Classes
- ArrayBuffer → BufferLike
-
def
intersect[B >: Node](that: GenSeq[B]): ArrayBuffer[Node]
- Definition Classes
- SeqLike → GenSeqLike
-
def
isDefinedAt(idx: Int): Boolean
- Definition Classes
- GenSeqLike
-
def
isEmpty: Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: collection.Iterator[Node]
- Definition Classes
- IndexedSeqLike → IterableLike → GenIterableLike
-
def
last: Node
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
lastIndexOf[B >: Node](elem: B, end: Int): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOf[B >: Node](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOfSlice[B >: Node](that: GenSeq[B], end: Int): Int
- Definition Classes
- SeqLike
-
def
lastIndexOfSlice[B >: Node](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
lastIndexWhere(p: (Node) ⇒ Boolean, end: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
lastIndexWhere(p: (Node) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
lastOption: Option[Node]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
length: Int
- Definition Classes
- ResizableArray → SeqLike → GenSeqLike
-
def
lengthCompare(len: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike
-
def
lift: (Int) ⇒ Option[Node]
- Definition Classes
- PartialFunction
-
def
map[B, That](f: (Node) ⇒ B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
mapResult[NewTo](f: (ArrayBuffer[Node]) ⇒ NewTo): Builder[Node, NewTo]
- Definition Classes
- Builder
-
def
max[B >: Node](implicit cmp: Ordering[B]): Node
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (Node) ⇒ B)(implicit cmp: Ordering[B]): Node
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: Node](implicit cmp: Ordering[B]): Node
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (Node) ⇒ B)(implicit cmp: Ordering[B]): Node
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[Node, ArrayBuffer[Node]]
- Attributes
- protected[this]
- Definition Classes
- GenericTraversableTemplate → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
orElse[A1 <: Int, B1 >: Node](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
padTo[B >: Node, That](len: Int, elem: B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
par: ParArray[Node]
- Definition Classes
- ArrayBuffer → CustomParallelizable → Parallelizable
-
def
parCombiner: Combiner[Node, ParArray[Node]]
- Attributes
- protected[this]
- Definition Classes
- CustomParallelizable → Parallelizable
-
def
partition(p: (Node) ⇒ Boolean): (ArrayBuffer[Node], ArrayBuffer[Node])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
patch[B >: Node, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
permutations: collection.Iterator[ArrayBuffer[Node]]
- Definition Classes
- SeqLike
-
def
prefixLength(p: (Node) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
prepend(elems: Node*): Unit
- Definition Classes
- BufferLike
-
def
prependAll(xs: collection.TraversableOnce[Node]): Unit
- Definition Classes
- BufferLike
-
def
product[B >: Node](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce[A1 >: Node](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: Node](op: (B, Node) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → TraversableOnce
-
def
reduceLeftOption[B >: Node](op: (B, Node) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: Node](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: Node](op: (Node, B) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: Node](op: (Node, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceToSize(sz: Int): Unit
- Definition Classes
- ResizableArray
-
def
remove(n: Int): Node
- Definition Classes
- ArrayBuffer → BufferLike
-
def
remove(n: Int, count: Int): Unit
- Definition Classes
- ArrayBuffer → BufferLike
-
def
repr: ArrayBuffer[Node]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
result(): ArrayBuffer[Node]
- Definition Classes
- ArrayBuffer → Builder
-
def
reverse: ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
reverseIterator: collection.Iterator[Node]
- Definition Classes
- IndexedSeqOptimized → SeqLike
-
def
reverseMap[B, That](f: (Node) ⇒ B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
reversed: List[Node]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith[U](action: (Node) ⇒ U): (Int) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: Node](that: GenIterable[B]): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike
-
def
scan[B >: Node, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, Node) ⇒ B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: (Node, B) ⇒ B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
segmentLength(p: (Node) ⇒ Boolean, from: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
seq: collection.mutable.IndexedSeq[Node]
- Definition Classes
- IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size: Int
- Definition Classes
- SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
val
size0: Int
- Attributes
- protected
- Definition Classes
- ResizableArray
-
def
sizeHint(len: Int): Unit
- Definition Classes
- ArrayBuffer → Builder
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- IndexedSeqLike → GenTraversableOnce
-
def
slice(from: Int, until: Int): ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): collection.Iterator[ArrayBuffer[Node]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): collection.Iterator[ArrayBuffer[Node]]
- Definition Classes
- IterableLike
-
def
sortBy[B](f: (Node) ⇒ B)(implicit ord: math.Ordering[B]): ArrayBuffer[Node]
- Definition Classes
- SeqLike
-
def
sortWith(lt: (Node, Node) ⇒ Boolean): ArrayBuffer[Node]
- Definition Classes
- SeqLike
-
def
sorted[B >: Node](implicit ord: math.Ordering[B]): ArrayBuffer[Node]
- Definition Classes
- SeqLike
-
def
span(p: (Node) ⇒ Boolean): (ArrayBuffer[Node], ArrayBuffer[Node])
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (ArrayBuffer[Node], ArrayBuffer[Node])
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
startsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- GenSeqLike
-
def
stringPrefix: String
- Definition Classes
- ArrayBuffer → BufferLike → TraversableLike → GenTraversableLike
-
def
sum[B >: Node](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
swap(a: Int, b: Int): Unit
- Attributes
- protected
- Definition Classes
- ResizableArray
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
tails: collection.Iterator[ArrayBuffer[Node]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → IterableLike
-
def
takeWhile(p: (Node) ⇒ Boolean): ArrayBuffer[Node]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: collection.mutable.IndexedSeq[Node]
- Attributes
- protected[this]
- Definition Classes
- IndexedSeqLike → IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Node, Col[Node]]): Col[Node]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: Node](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[A1 >: Node]: Buffer[A1]
- Definition Classes
- IndexedSeqLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: ArrayBuffer[Node]): collection.mutable.IndexedSeq[Node]
- Attributes
- protected[this]
- Definition Classes
- IndexedSeqLike → IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
toIndexedSeq: collection.immutable.IndexedSeq[Node]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: collection.Iterable[Node]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: collection.Iterator[Node]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[Node]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[Node, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: collection.Seq[Node]
- Definition Classes
- SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: Node]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: collection.immutable.Stream[Node]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- SeqLike → TraversableLike → Any
-
def
toTraversable: collection.Traversable[Node]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[Node]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transform(f: (Node) ⇒ Node): NodeBuffer.this.type
- Definition Classes
- SeqLike
-
def
transpose[B](implicit asTraversable: (Node) ⇒ GenTraversableOnce[B]): ArrayBuffer[ArrayBuffer[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
trimEnd(n: Int): Unit
- Definition Classes
- BufferLike
-
def
trimStart(n: Int): Unit
- Definition Classes
- BufferLike
-
def
union[B >: Node, That](that: GenSeq[B])(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
unzip[A1, A2](implicit asPair: (Node) ⇒ (A1, A2)): (ArrayBuffer[A1], ArrayBuffer[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (Node) ⇒ (A1, A2, A3)): (ArrayBuffer[A1], ArrayBuffer[A2], ArrayBuffer[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(idx: Int, elem: Node): Unit
- Definition Classes
- ResizableArray → IndexedSeqLike → SeqLike
-
def
updated[B >: Node, That](index: Int, elem: B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
view(from: Int, until: Int): IndexedSeqView[Node, ArrayBuffer[Node]]
- Definition Classes
- IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
view: IndexedSeqView[Node, ArrayBuffer[Node]]
- Definition Classes
- IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
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
- @native() @throws( ... )
-
def
withFilter(p: (Node) ⇒ Boolean): FilterMonadic[Node, ArrayBuffer[Node]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: Node, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[ArrayBuffer[Node], (A1, B), That]): That
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: Node, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[ArrayBuffer[Node], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: Node, That](implicit bf: CanBuildFrom[ArrayBuffer[Node], (A1, Int), That]): That
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike