class ContextMessageList<V> : Any

Fields

Name Description
val value: V
val messageList: DefaultMessageList

Constructors

<init>

constructor(value: V, messageList: DefaultMessageList)

Parameters

Name Description
value: V
messageList: DefaultMessageList

Methods

appendReport

fun appendReport(other: DefaultMessageList): ContextMessageList<V>

Parameters

Name Description
other: DefaultMessageList

ReturnValue

Name Description
ContextMessageList<V>

handleMessageList

fun handleMessageList(f: (DefaultMessageList)->Unit): V

Parameters

Name Description
f: (DefaultMessageList)->Unit

ReturnValue

Name Description
V

map

fun <R> map(transform: (V)->R): ContextMessageList<R>

Parameters

Name Description
transform: (V)->R

ReturnValue

Name Description
ContextMessageList<R>