com.jalios.jcms.calendar
Class AbstractCalendarEvent.StartDateComparator<T extends CalendarEventInterface>

java.lang.Object
  extended by com.jalios.jcms.calendar.AbstractCalendarEvent.StartDateComparator<T>
Type Parameters:
T - subclass of AbstractCalendarEvent
All Implemented Interfaces:
Comparator<T>
Enclosing class:
AbstractCalendarEvent

public static class AbstractCalendarEvent.StartDateComparator<T extends CalendarEventInterface>
extends Object
implements Comparator<T>

This comparator allow sorting of calendar event in chronological order using only their start date

Since:
jcms-4.1.1

Constructor Summary
AbstractCalendarEvent.StartDateComparator()
           
 
Method Summary
 int compare(T ce1, T ce2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

AbstractCalendarEvent.StartDateComparator

public AbstractCalendarEvent.StartDateComparator()
Method Detail

compare

public int compare(T ce1,
                   T ce2)
Specified by:
compare in interface Comparator<T extends CalendarEventInterface>


Copyright © 2001-2010 Jalios SA. All Rights Reserved.