BuilderMapStd

ostrat.BuilderMapStd
trait BuilderMapStd[A, R] extends BuilderMap[A, R]

BuilderMap that uses the standard library ArrayBuffer directly as its Buff type.

Attributes

Graph
Supertypes
trait BuilderMap[A, R]
trait BuilderBoth[R]
class Object
trait Matchable
class Any
Known subtypes
class ArrayBuilder[A]
class ListBuilder[A]
class VectorBuilder[A]

Members list

Type members

Types

override type BuffT = ArrayBuffer[A]

BuffT can be a specialist Buff class, or it can be an ArrayBuffer.

BuffT can be a specialist Buff class, or it can be an ArrayBuffer.

Attributes

Value members

Concrete methods

override def buffGrow(buff: ArrayBuffer[A], newElem: A): Unit

A mutable operation that extends the ArrayBuffer by a single element of type B.

A mutable operation that extends the ArrayBuffer by a single element of type B.

Attributes

Definition Classes
override def newBuff(length: Int): ArrayBuffer[A]

Creates a new empty Buff with a default capacity of 4 elements.

Creates a new empty Buff with a default capacity of 4 elements.

Attributes

Definition Classes

Inherited and Abstract methods

def buffToSeqLike(buff: BuffT): R

converts a buffer of the given type to the target compound class.

converts a buffer of the given type to the target compound class.

Attributes

Inherited from:
BuilderBoth
def empty: R

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

Inherited from:
BuilderMap