Interface CalendarEventView<T>

  • All Known Implementing Classes:
    CalendarEventInternalParticipationView
    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 CalendarEventView<T>
    A view in which the occurrences of the calendar events are grouped by a given event or occurrence property whose type is T.
    Author:
    mmoquillon
    • Method Detail

      • apply

        Map<T,​List<CalendarEventOccurrence>> apply​(List<CalendarEventOccurrence> occurrences)
        Applies this view on the specified list of calendar event occurrences. The occurrences will be grouped by a specific property.
        Parameters:
        occurrences - a list of calendar event occurrences.
        Returns:
        a map in which the occurrences are grouped by a specific property of type T.