TypedEntry

play.api.libs.typedmap.TypedEntry
final case class TypedEntry[A](key: TypedKey[A], value: A)

An entry that binds a typed key and a value. These entries can be placed into a TypedMap or any other type of object with typed values.

Type parameters

A

The type of the value.

Value parameters

key

The key for this entry.

value

The value for this entry.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def asJava: TypedEntry[A]

Attributes

Returns

The Java version for this entry.

def toPair: (TypedKey[A], A)

Convert the entry into a standard pair.

Convert the entry into a standard pair.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product