org.apache.myfaces.custom.schedule.util
Class ScheduleEntryComparator

java.lang.Object
  extended by org.apache.myfaces.custom.schedule.util.ScheduleEntryComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator

public class ScheduleEntryComparator
extends java.lang.Object
implements java.util.Comparator, java.io.Serializable

Comparator for ScheduleEntry objects. This is needed for correctly rendering the schedule.

Version:
$Revision: 381473 $
Author:
Jurgen Lust (latest modification by $Author: schof $), Bruno Aranda (adaptation of Jurgen's code to myfaces)
See Also:
Serialized Form

Constructor Summary
ScheduleEntryComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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

ScheduleEntryComparator

public ScheduleEntryComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.