ListBuilder

ostrat.ListBuilder
class ListBuilder[A] extends BuilderStdCollMap[A, List[A]]

Attributes

Graph
Supertypes
trait BuilderStdCollMap[A, List[A]]
trait BuilderCollMap[A, List[A]]
trait BuilderColl[List[A]]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

override type BuffT = ArrayBuffer[A]

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compile time wrapped Arraybuffer inheriting from BuffProdHomo.

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compile time wrapped Arraybuffer inheriting from BuffProdHomo.

Attributes

Inherited from:
BuilderStdCollMap

Value members

Concrete methods

override def buffToSeqLike(buff: ArrayBuffer[A]): List[A]

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

Definition Classes
override def empty: List[A]

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

Definition Classes

Inherited 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
Inherited from:
BuilderStdCollMap
override def newBuff(length: Int): ArrayBuffer[A]

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

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

Attributes

Definition Classes
Inherited from:
BuilderStdCollMap