Match - public class ObservableCollectionProcessor<Match extends IPatternMatch>
extends java.lang.Object
implements java.util.function.Consumer<Match>
Direction and an IObservablePatternMatchCollectionUpdate.
It can be registered for rules that take care of keeping the observable collection up-to-date (see
ObservableCollectionHelper#createRuleInAgenda).| Constructor and Description |
|---|
ObservableCollectionProcessor(Direction direction,
IObservablePatternMatchCollectionUpdate<Match> collection)
Creates a processor with the given direction and observable collection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Match match) |
public ObservableCollectionProcessor(Direction direction, IObservablePatternMatchCollectionUpdate<Match> collection)
direction - the Direction of updates that are handledcollection - the IObservablePatternMatchCollectionUpdate to managepublic void accept(Match match)
accept in interface java.util.function.Consumer<Match extends IPatternMatch>