public static class CaseBuilder.InCaseOfManyStep2<V>
extends java.lang.Object
| Constructor and Description |
|---|
InCaseOfManyStep2() |
| Modifier and Type | Method and Description |
|---|---|
<X> MatchingInstance<V,X> |
thenApply(ActionWithReturn<java.util.List<V>,X> a)
Create a new Case with the supplied ActionWithReturn as the action
|
<X> MatchingInstance<V,X> |
thenConsume(Action<java.util.List<V>> a)
Create a new Case with the supplied ActionWithReturn as the action
|
public <X> MatchingInstance<V,X> thenApply(ActionWithReturn<java.util.List<V>,X> a)
a - Action to be executed when the new Case is triggeredpublic <X> MatchingInstance<V,X> thenConsume(Action<java.util.List<V>> a)
a - Action to be executed when the new Case is triggered