| Package | Description |
|---|---|
| net.markenwerk.commons.datastructures |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConvertingOptionalSelection<Payload,Result>
An
AbstractConvertingOptionalSelection is a OptionalSelection
that converts the payload value of the
handled Optional, if
present, and returns another Optional. |
class |
AbstractOptionalSelection<Payload,Result>
An
AbstractOptionalSelection is a OptionalSelection with empty
methods. |
class |
ConvertingOptionalSelection<Payload,Result>
An
ConvertingOptionalSelection is an
AbstractConvertingOptionalSelection that uses a Converter to
convert payload values. |
class |
NullOptionalSelection<Payload,Result>
An
NullOptionalSelection is an AbstractOptionalSelection that does
nothing and always returns null. |
| Modifier and Type | Method and Description |
|---|---|
<Result> Result |
Optional.select(OptionalSelection<? super Payload,? extends Result> selection)
Calls the appropriate method on the given
OptionalSelection. |
Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.