StringInterner

com.netflix.atlas.core.util.StringInterner
object StringInterner extends Interner[String]

Delegate to String.intern().

Attributes

Graph
Supertypes
trait Interner[String]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def intern(value: String): String

Returns a representative instance that is equal to the specified instance. Check the particular implementation before making any assumptions about the ability to just use reference equality on interned instances.

Returns a representative instance that is equal to the specified instance. Check the particular implementation before making any assumptions about the ability to just use reference equality on interned instances.

Attributes

def size: Int

Returns the number of items that are currently interned.

Returns the number of items that are currently interned.

Attributes