creates a new key and adds it to a registry.
creates a new key and adds it to a registry.
the JSON key associated with this map key
the registry with which this key is to be associated
a JsonFormat
which enables a key to serialize and
deserialize its associated value
The type of the value associated with this key.
The type of the value associated with this key. Useful in cases where the type parameter of this key is lost because of type erasure.
the JSON key associated with this map key
Returns a stable copy of this HMapKey
without the JSON support.
Returns a stable copy of this HMapKey
without the JSON support. Useful for creating serializable equivalent
keys.
a stable copy of this HMapKey
without the JSON support.
Converts an object of this key's value type to JSON.
Converts an object of this key's value type to JSON.
the object to convert
the given object as a JSON value.
Returns this key, typed as a key associated with values of type Value
.
Returns this key, typed as a key associated with values of type Value
.
this key, typed as a key associated with values of type Value
.
Converts a JSON value to an object of this key's value type.
Converts a JSON value to an object of this key's value type.
the JSON value to convert
the given JSON value as an object.
A key of a
JsonHMap
.the type of the value associated with this key
(Since version 2017/07/13) This will be removed in a future version