org.primefaces.extensions.util
Class TimelineEventComparator

java.lang.Object
  extended by org.primefaces.extensions.util.TimelineEventComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<TimelineEvent>

public class TimelineEventComparator
extends java.lang.Object
implements java.util.Comparator<TimelineEvent>, java.io.Serializable

Comparator for TimelineEvent to order their according start / end dates.

Version:
$Revision: 1.0 $
Author:
Oleg Varaksin / last modified by $Author: $
See Also:
Serialized Form

Constructor Summary
TimelineEventComparator()
           
 
Method Summary
 int compare(TimelineEvent a, TimelineEvent b)
           
 
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

TimelineEventComparator

public TimelineEventComparator()
Method Detail

compare

public int compare(TimelineEvent a,
                   TimelineEvent b)
Specified by:
compare in interface java.util.Comparator<TimelineEvent>


Copyright © 2011-2013. All Rights Reserved.