Companion

object Companion

Functions

Link copied to clipboard

Creates a new event node that accepts any event.

Link copied to clipboard
fun <T : Event, V> filteredForEvent(name: String, filter: EventFilter<T, V>, predicate: Predicate<T>): 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.

Link copied to clipboard
fun <T : Event, V> filteredForType(name: String, filter: EventFilter<T, V>, predicate: BiPredicate<T, 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.

Link copied to clipboard
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.

Link copied to clipboard
fun <T : Event, V> forType(name: String, filter: EventFilter<T, V>): EventNode<T>

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