Class TypedEntry<A>

java.lang.Object
play.libs.typedmap.TypedEntry<A>
Type Parameters:
A - The type of the key and value in this entry.

public final class TypedEntry<A> extends Object
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.
  • Constructor Details

    • TypedEntry

      public TypedEntry(TypedKey<A> key, A value)
  • Method Details

    • key

      public TypedKey<A> key()
      Returns:
      the key part of this entry.
    • value

      public A value()
      Returns:
      the value part of this entry.
    • asScala

      public play.api.libs.typedmap.TypedEntry<A> asScala()
      Returns:
      the Scala version for this entry.