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>
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic <T> SequencePatternNextMediator<T> forSequencePatternAndCount(ISequencePattern<T> sequencePattern, int count) withCondition(Predicate<E> condition)
-
Methodendetails
-
forSequencePatternAndCount
public static <T> SequencePatternNextMediator<T> forSequencePatternAndCount(ISequencePattern<T> sequencePattern, int count) - Typparameter:
T- 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.
-