public interface CollectionStep<T,X>
| Modifier and Type | Method and Description |
|---|---|
<X> CollectionMatchingInstance<T,X> |
thenApply(com.aol.cyclops.matcher.TypedFunction<T,X> t)
Create a new Case with the supplied ActionWithReturn as the action
|
default CollectionMatchingInstance<T,X> |
thenConsume(com.aol.cyclops.matcher.Action<T> t)
Create a new Case with the supplied ActionWithReturn as the action
|
<X> CollectionMatchingInstance<T,X> thenApply(com.aol.cyclops.matcher.TypedFunction<T,X> t)
t - Action to be executed when the new Case is triggereddefault CollectionMatchingInstance<T,X> thenConsume(com.aol.cyclops.matcher.Action<T> t)
t - Action to be executed when the new Case is triggered