Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OptionalWorker<T>

This class does the actual work behind the Optional companion function. In addition to implementing the Serializable interface it also stores the Serializable instance of the payload of the Optional and uses it to provide a decoder for the OptionalInner type.

Type parameters

  • T

    The type of the optionally present value.

Hierarchy

  • OptionalWorker

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

decoder

decoder: jtv.Decoder<Optional<T>>

Private innerDecoder

innerDecoder: jtv.Decoder<OptionalInner<T>>

Generated using TypeDoc