Schnittstelle ISequencePatternBuilder<E>
- Typparameter:
E
- is the type of the elements of the searched-for sequences of aISequencePatternBuilder
.
- Alle Superschnittstellen:
EmptinessRequestable
,IBuilder<ISequencePattern<E>>
public interface ISequencePatternBuilder<E>
extends EmptinessRequestable, IBuilder<ISequencePattern<E>>
- Version:
- 2023-02-13
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAdds a blank condition for the next element of the searched-for sequences to the currentISequencePatternBuilder
.addConditionForNext
(Predicate<E> condition) Adds the given condition for the next element of the searched-for sequences to the currentISequencePatternBuilder
.forNext
(int count) Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.EmptinessRequestable
containsAny, isEmpty
-
Methodendetails
-
addBlankForNext
ISequencePatternBuilder<E> addBlankForNext()Adds a blank condition for the next element of the searched-for sequences to the currentISequencePatternBuilder
.- Gibt zurück:
- the current
ISequencePatternBuilder
.
-
addConditionForNext
Adds the given condition for the next element of the searched-for sequences to the currentISequencePatternBuilder
.- Parameter:
condition
-- Gibt zurück:
- the current
ISequencePatternBuilder
. - Löst aus:
RuntimeException
- if the given condition is null.
-
forNext
- Parameter:
count
-- Gibt zurück:
- a new
INextMediator
for the currentISequencePatternBuilder
with the given count. - Löst aus:
RuntimeException
- if the given count is not positive
-