Interface WorkReportPredicate

  • All Known Implementing Classes:
    WorkReportPredicate.TimesPredicate
    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 interface WorkReportPredicate
    A predicate interface on work report.
    Author:
    Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
    • Method Detail

      • apply

        boolean apply​(WorkReport workReport)
        Apply the predicate on the given work report.
        Parameters:
        workReport - on which the predicate should be applied
        Returns:
        true if the predicate applies on the given report, false otherwise