Klasse SequencePatternNextMediator<E>
java.lang.Object
ch.nolix.core.container.sequencesearch.SequencePatternNextMediator<E>
- Typparameter:
E- is the type of the elements of the sequences of theSequencePatternof aSequencePatternNextMediator.
- Alle implementierten Schnittstellen:
ISequencePatternNextMediator<E>
public final class SequencePatternNextMediator<E>
extends Object
implements ISequencePatternNextMediator<E>
- Version:
- 2016-10-01
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <E2> SequencePatternNextMediator<E2> forSequencePatternAndCount(ISequencePattern<E2> sequencePattern, int count) withCondition(Predicate<E> condition)
-
Methodendetails
-
forSequencePatternAndCount
public static <E2> SequencePatternNextMediator<E2> forSequencePatternAndCount(ISequencePattern<E2> sequencePattern, int count) - Typparameter:
E2- is the type of the elements of the sequences of theISequencePatternof theISequencePatternNextMediator.- Parameter:
sequencePattern-count-- Gibt zurück:
- a new
SequencePatternNextMediatorfor the given sequencePattern and count. - Löst aus:
ArgumentIsNullException- if the sequencePattern is null.NegativeArgumentException- if the given count is negative.
-
withBlank
- Angegeben von:
withBlankin SchnittstelleISequencePatternNextMediator<E>- Gibt zurück:
- a new
ISequencePatternfrom theISequencePatternof the currentISequencePatternNextMediatorwith a blank condition for the next elements of the sequences of theISequencePattern.
-
withCondition
- Angegeben von:
withConditionin SchnittstelleISequencePatternNextMediator<E>- Parameter:
condition-- Gibt zurück:
- a new
ISequencePatternfrom theISequencePatternof the currentISequencePatternNextMediatorwith the given condition for the next elements of the sequences of theISequencePattern.
-