ChainedArray

class ChainedArray extends Builder

Uses a chain of arrays with fixed size to temporarily hold key/value pairs until the TagSet instance is created. This allows for no allocations when adding new tags on the most common cases (less than 8 tags) and a single allocation for every additional 8 key/value pairs added to the Builder.

trait Builder
class Object
trait Matchable
class Any

Value members

Concrete methods

override def add(key: String, value: String): Builder

Adds a new key/value pair to the builder.

Adds a new key/value pair to the builder.

Definition Classes
override def add(key: String, value: Long): Builder

Adds a new key/value pair to the builder.

Adds a new key/value pair to the builder.

Definition Classes
override def add(key: String, value: Boolean): Builder

Adds a new key/value pair to the builder.

Adds a new key/value pair to the builder.

Definition Classes
override def add(tags: TagSet): Builder

Adds all key/value pairs to the builder.

Adds all key/value pairs to the builder.

Definition Classes
override def build(): TagSet

Creates a new TagSet instance that includes all valid key/value pairs added to this builder.

Creates a new TagSet instance that includes all valid key/value pairs added to this builder.

Definition Classes