com.jalios.jcms
Class FileDocument.SizeComparator<T extends FileDocument>

java.lang.Object
  extended by com.jalios.jstore.BasicStorable.CdateComparator<T>
      extended by com.jalios.jcms.comparator.BasicComparator<T>
          extended by com.jalios.jcms.Publication.TitleComparator<T>
              extended by com.jalios.jcms.FileDocument.SizeComparator<T>
Type Parameters:
T - subclass of FileDocument
All Implemented Interfaces:
Comparator<T>
Enclosing class:
FileDocument

public static class FileDocument.SizeComparator<T extends FileDocument>
extends Publication.TitleComparator<T>

Since:
jcms-4.1

Field Summary
 
Fields inherited from class com.jalios.jcms.Publication.TitleComparator
lang
 
Fields inherited from class com.jalios.jcms.comparator.BasicComparator
channel, contextMap, jcmsContext, language, locale
 
Constructor Summary
FileDocument.SizeComparator()
           
 
Method Summary
 int compare(T o1, T o2)
           
 
Methods inherited from class com.jalios.jstore.BasicStorable.CdateComparator
compareDate
 
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

FileDocument.SizeComparator

public FileDocument.SizeComparator()
Method Detail

compare

public int compare(T o1,
                   T o2)
Specified by:
compare in interface Comparator<T extends FileDocument>
Overrides:
compare in class Publication.TitleComparator<T extends FileDocument>


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