Quartet
public final class Quartet<A extends Message, B, C, D> extends Tuple implements Element.AValue<T>, Element.BValue<T>, Element.CValue<T>, Element.DValue<T>
A tuple with four elements.
The first element must be a non-default Message and not Empty.
Other three can be Message
, Optional or Either.
Parameters
<A>
the type of the first element
<B>
the type of the second element
<C>
the type of the third element
<D>
the type of the fourth element