Builder

com.netflix.atlas.core.util.SortedTagMap.Builder
class Builder(initialSize: Int)

Builder for constructing a new instance of a sorted tag map.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def +=(pair: (String, String)): Unit

Add a tuple into the tag map.

Add a tuple into the tag map.

Attributes

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

Add a key/value pair into the tag map.

Add a key/value pair into the tag map.

Attributes

def addAll(m: Map[String, String]): Builder

Add all entries from the map into the tag map.

Add all entries from the map into the tag map.

Attributes

def addAll(data: IterableOnce[(String, String)]): Builder

Add all tuples from the collection into the tag map.

Add all tuples from the collection into the tag map.

Attributes

Same as result except that it will ensure the backing array is sized to exactly fit the data.

Same as result except that it will ensure the backing array is sized to exactly fit the data.

Attributes

Compute result and clear the internal buffer. The builder instance cannot be used again after calling.

Compute result and clear the internal buffer. The builder instance cannot be used again after calling.

Attributes