Scala Library
|
|
class
WrappedArrayBuilder[A](manifest : ClassManifest[A])
extends
Builder[A, WrappedArray[A]]Method Summary | |
def
|
+=
(elem : A) : WrappedArrayBuilder[A]
Adds a single element to the builder.
|
def
|
clear
: Unit
Clear the contents of this builder
|
def
|
result
: WrappedArray[A]
Returns collection resulting from this builder. The buffer's contents
are undefined afterwards.
|
override def
|
sizeHint
(size : Int) : Unit
Give a hint how many elements are expected to be added
when the next `result` is called.
|
Methods inherited from Builder | |
mapResult |
Methods inherited from Growable | |
+=, ++=, ++= |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
+=(elem : A) : WrappedArrayBuilder[A]
elem -
The element to be added
def
clear : Unit
def
result : WrappedArray[A]
Scala Library
|
|