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

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

public class ScheduleEntryComparator
extends Object
implements Comparator, 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(Object o1, 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(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


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