Payload - The payload type.Result - The result type.public interface OptionalSelection<Payload,Result>
OptionalSelection can be used to
handle an Optional and
obtain a result value, whether the Optional
has a value or not.| Modifier and Type | Method and Description |
|---|---|
Result |
onNoValue()
|
Result |
onValue(Payload payload)
|
Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.