com.jalios.jcms.tracking
Class ReaderTrackerEntry.LastAccessDateComparator

java.lang.Object
  extended by com.jalios.jcms.tracking.ReaderTrackerEntry.FirstAccessDateComparator
      extended by com.jalios.jcms.tracking.ReaderTrackerEntry.LastAccessDateComparator
All Implemented Interfaces:
Comparator<ReaderTrackerEntry>
Direct Known Subclasses:
ReaderTrackerEntry.AccessCountComparator
Enclosing class:
ReaderTrackerEntry

public static class ReaderTrackerEntry.LastAccessDateComparator
extends ReaderTrackerEntry.FirstAccessDateComparator

Sorts ReaderTrackerEntry by last access date Date

Since:
jcms-8.0.0

Constructor Summary
ReaderTrackerEntry.LastAccessDateComparator()
           
 
Method Summary
 int compare(ReaderTrackerEntry a, ReaderTrackerEntry 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

ReaderTrackerEntry.LastAccessDateComparator

public ReaderTrackerEntry.LastAccessDateComparator()
Method Detail

compare

public int compare(ReaderTrackerEntry a,
                   ReaderTrackerEntry b)
Specified by:
compare in interface Comparator<ReaderTrackerEntry>
Overrides:
compare in class ReaderTrackerEntry.FirstAccessDateComparator


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