final class TypedKey[A] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- TypedKey
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- 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.
- def asJava: libs.typedmap.TypedKey[A]
- returns
The Java version for this key.
- 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.
- val displayName: Option[String]
- def toString(): String
- Definition Classes
- TypedKey → AnyRef → Any
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.
The type of values associated with this key.