public static class Chains.OngoingBranch<PT,T,R,PB extends Chains.AbstractOngoingChain<PT,R,?,PB>> extends Chains.AbstractOngoingChain<T,R,org.tensorics.core.util.chains.Branch<T,R>,Chains.OngoingBranch<PT,T,R,PB>>
Modifier and Type | Method and Description |
---|---|
PB |
orElseBreakWith(R returnValue) |
PB |
orElseFallThrough() |
PB |
orElseThrow() |
Chains.OngoingBranch<PT,T,R,PB> |
then(java.util.function.BiFunction<? super T,java.util.function.Function<java.lang.Object,R>,R> mapperWithCallback) |
Chains.OngoingBranch<PT,T,R,PB> |
then(java.util.function.Function<? super T,R> mapper) |
branchCase, branchIf, branchIf, matchCasesFrom, matchCasesFrom, or, or