public static class Chains.OngoingMainChain<R> extends Chains.AbstractOngoingChain<java.lang.Object,R,Chain<R>,Chains.OngoingMainChain<R>>
Modifier and Type | Method and Description |
---|---|
Chains.OngoingMainChain<R> |
either(java.util.function.BiFunction<java.lang.Object,java.util.function.Function<java.lang.Object,R>,R> mapperWithCallback) |
Chains.OngoingMainChain<R> |
either(java.util.function.Function<java.lang.Object,R> mapper) |
Chains.OngoingMainChain<R> |
endRecursionDefaultDepth(int newDefaultEndRecursionDepth) |
Chains.OngoingMainChain<R> |
endRecursionWith(java.util.function.Function<java.lang.Object,R> newEndRecursionFunction) |
Chain<R> |
orElse(R returnValue) |
Chain<R> |
orElseNull() |
Chain<R> |
orElseThrow() |
branchCase, branchIf, branchIf, matchCasesFrom, matchCasesFrom, or, or
public Chains.OngoingMainChain<R> endRecursionWith(java.util.function.Function<java.lang.Object,R> newEndRecursionFunction)
public Chains.OngoingMainChain<R> endRecursionDefaultDepth(int newDefaultEndRecursionDepth)
public Chains.OngoingMainChain<R> either(java.util.function.Function<java.lang.Object,R> mapper)
public Chains.OngoingMainChain<R> either(java.util.function.BiFunction<java.lang.Object,java.util.function.Function<java.lang.Object,R>,R> mapperWithCallback)