mirror of
https://github.com/corda/corda.git
synced 2025-01-31 00:24:59 +00:00
documentation adapted for OptionSerializer (#4522)
This commit is contained in:
parent
eea348768b
commit
ef1462ee5e
@ -7,7 +7,7 @@ import java.time.OffsetTime
|
|||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A serializer for [OffsetTime] that uses a proxy object to write out the time and zone offset.
|
* A serializer for [Optional] that uses a proxy object to write out the value stored in the optional or [Optional.EMPTY].
|
||||||
*/
|
*/
|
||||||
class OptionalSerializer(factory: SerializerFactory) : CustomSerializer.Proxy<Optional<*>, OptionalSerializer.OptionalProxy>(Optional::class.java, OptionalProxy::class.java, factory) {
|
class OptionalSerializer(factory: SerializerFactory) : CustomSerializer.Proxy<Optional<*>, OptionalSerializer.OptionalProxy>(Optional::class.java, OptionalProxy::class.java, factory) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user