Class Emitters.EqualityCollectorWithHoldback<T,R>
- java.lang.Object
-
- org.palladiosimulator.indirections.scheduler.operators.Emitters.EqualityCollectorWithHoldback<T,R>
-
- All Implemented Interfaces:
Emitters.StatefulEmitter<T,Emitters.EqualityCollectorWithHoldback.HeldBackList<R,T>>
- Enclosing class:
- Emitters
public static class Emitters.EqualityCollectorWithHoldback<T,R> extends Object implements Emitters.StatefulEmitter<T,Emitters.EqualityCollectorWithHoldback.HeldBackList<R,T>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Emitters.EqualityCollectorWithHoldback.HeldBackList<R,T>
-
Field Summary
Fields Modifier and Type Field Description Queue<Emitters.EqualityCollectorWithHoldback.HeldBackList<R,T>>
currentCollections
-
Constructor Summary
Constructors Constructor Description EqualityCollectorWithHoldback(Function<T,R> keyFunction, int holdback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Emitters.EqualityCollectorWithHoldback.HeldBackList<R,T>>
accept(T t)
-
-
-
Field Detail
-
currentCollections
public Queue<Emitters.EqualityCollectorWithHoldback.HeldBackList<R,T>> currentCollections
-
-
Method Detail
-
accept
public Optional<Emitters.EqualityCollectorWithHoldback.HeldBackList<R,T>> accept(T t)
- Specified by:
accept
in interfaceEmitters.StatefulEmitter<T,R>
-
-