ListBuilder

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

Attributes

Graph
Supertypes
trait BuilderMapStd[A, List[A]]
trait BuilderMap[A, List[A]]
trait BuilderBoth[List[A]]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited 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

Inherited from:
BuilderMapStd

Value members

Concrete methods

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

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

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:
BuilderMapStd
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 from:
BuilderMapStd