Interface Event.EventPredicate

Enclosing class:
Event
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Event.EventPredicate
A generic event predicate.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(Event event)
    Tests the event.
  • Method Details

    • test

      boolean test(Event event)
      Tests the event.
      Parameters:
      event - The event to test.
      Returns:
      True if the event passes the test, false otherwise.