public static final class Match.MatchMonad.WhenApplicable<T,U,R> extends Object
Constructor and Description |
---|
WhenApplicable(T value,
Option<java.util.function.Supplier<? extends R>> result,
Function1<? super U,? extends R> function) |
Modifier and Type | Method and Description |
---|---|
Match.MatchMonad.When.Then<T,R> |
thenApply() |
Match.MatchMonad.When.Then<T,R> |
thenThrow(java.util.function.Supplier<? extends RuntimeException> supplier) |
public Match.MatchMonad.When.Then<T,R> thenApply()
public Match.MatchMonad.When.Then<T,R> thenThrow(java.util.function.Supplier<? extends RuntimeException> supplier)
Copyright © 2015. All Rights Reserved.