filteredForValue

fun <T : Event, V> filteredForValue(name: String, filter: EventFilter<T, V>, predicate: Predicate<V?>): EventNode<T>

Creates a new event node that accepts any event of the given event type T that passes the given filter and the given predicate.

This functions identically to filteredForType, except that the predicate only provides the handle object.

Return

a new event node

Parameters

T

the event type

V

the value type

name

the name of the node

filter

the event filter

predicate

the predicate to test