Buffer

final class Buffer[@specialized V](var array: Array[V], var length: Int)(implicit val ctV: ClassTag[V])
Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def +=(elem: V): Buffer[V]
def ensureLength(n: Long): Dummy[V]

Grow if necessary the underlying array to accomodate at least n elements.

Grow if necessary the underlying array to accomodate at least n elements.

final def toArray: Array[V]

Concrete fields

var array: Array[V]
var length: Int

Implicits

Implicits

implicit val ctV: ClassTag[V]