final class TypedKey[A] extends AnyRef

A TypedKey is a key that can be used to get and set values in a TypedMap or any object with typed keys. This class uses reference equality for comparisons, so each new instance is different key.

A

The type of values associated with this key.

Source
TypedKey.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedKey
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def ->(value: A): TypedEntry[A]

    Bind this key to a value.

    Bind this key to a value. Equivalent to bindValue.

    value

    The value to bind.

    returns

    An entry binding this key to a value of the right type.

  2. def asJava: libs.typedmap.TypedKey[A]

    returns

    The Java version for this key.

  3. def bindValue(value: A): TypedEntry[A]

    Bind this key to a value.

    Bind this key to a value. This is equivalent to the -> operator.

    value

    The value to bind this key to.

    returns

    A bound value.

  4. val displayName: Option[String]
  5. def toString(): String
    Definition Classes
    TypedKey → AnyRef → Any