@FunctionalInterface public static interface Choice.Consequence<P,R>
Choice that is only missing a negative result.| Modifier and Type | Method and Description |
|---|---|
Choice<P,R> |
orApply(Function<P,R> negative)
|
default Choice<P,R> |
orReply(R negative)
Specifies a fixed result that will be returned when the associated
condition is false to
a parameter. |
Copyright © 2021. All rights reserved.