Buffer

org.saddle.Buffer
See theBuffer companion object
final class Buffer[V](var array: Array[V], var length: Int)(implicit val ctV: ClassTag[V])

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def +=(elem: V): Buffer.this.type
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.

Attributes

final def toArray: Array[V]

Concrete fields

var array: Array[V]
var length: Int

Implicits

Implicits

implicit val ctV: ClassTag[V]