Constructor and Description |
---|
TypedKey(play.api.libs.typedmap.TypedKey<A> underlying) |
Modifier and Type | Method and Description |
---|---|
play.api.libs.typedmap.TypedKey<A> |
asScala() |
TypedEntry<A> |
bindValue(A value)
Bind this key to a value.
|
static <A> TypedKey<A> |
create()
Creates a TypedKey without a name.
|
static <A> TypedKey<A> |
create(String displayName)
Creates a TypedKey with the given name.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public TypedKey(play.api.libs.typedmap.TypedKey<A> underlying)
public play.api.libs.typedmap.TypedKey<A> asScala()
public TypedEntry<A> bindValue(A value)
value
- The value to bind this key to.public static <A> TypedKey<A> create()
A
- The type of value this key is associated with.public static <A> TypedKey<A> create(String displayName)
A
- The type of value this key is associated with.displayName
- The name to display when printing this key.