Package com.jalios.jcms.calendar
Class AbstractCalendarEvent.StartDateComparator<T extends CalendarEventInterface>
- java.lang.Object
-
- com.jalios.jcms.calendar.AbstractCalendarEvent.StartDateComparator<T>
-
- Type Parameters:
T
- subclass of AbstractCalendarEvent
- All Implemented Interfaces:
java.util.Comparator<T>
- Enclosing class:
- AbstractCalendarEvent
public static class AbstractCalendarEvent.StartDateComparator<T extends CalendarEventInterface> extends java.lang.Object implements java.util.Comparator<T>
This comparator allow sorting of calendar event in chronological order using only their start date- Since:
- jcms-4.1.1
-
-
Constructor Summary
Constructors Constructor Description StartDateComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T ce1, T ce2)
-
-
-
Method Detail
-
compare
public int compare(T ce1, T ce2)
- Specified by:
compare
in interfacejava.util.Comparator<T extends CalendarEventInterface>
-
-