Package org.drools.ruleunits.impl
Class EventListDataStream<T>
- java.lang.Object
-
- org.drools.ruleunits.impl.EventListDataStream<T>
-
-
Constructor Summary
Constructors Constructor Description EventListDataStream()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(T t)static <T> EventListDataStream<T>create(T... ts)voidsubscribe(org.drools.ruleunits.api.DataProcessor subscriber)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
create
@SafeVarargs public static <T> EventListDataStream<T> create(T... ts)
-
append
public void append(T t)
- Specified by:
appendin interfaceorg.drools.ruleunits.api.DataStream<T>
-
subscribe
public void subscribe(org.drools.ruleunits.api.DataProcessor subscriber)
- Specified by:
subscribein interfaceorg.drools.ruleunits.api.DataSource<T>
-
-