Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.util.comparator
Class FileVersionVersionComparator

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.util.comparator.FileVersionVersionComparator
All Implemented Interfaces:
Comparator<DLFileVersion>

public class FileVersionVersionComparator
extends Object
implements Comparator<DLFileVersion>


Constructor Summary
FileVersionVersionComparator()
           
FileVersionVersionComparator(boolean ascending)
           
 
Method Summary
 int compare(DLFileVersion dlFileVersion1, DLFileVersion dlFileVersion2)
           
 boolean isAscending()
           
 
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

FileVersionVersionComparator

public FileVersionVersionComparator()

FileVersionVersionComparator

public FileVersionVersionComparator(boolean ascending)
Method Detail

compare

public int compare(DLFileVersion dlFileVersion1,
                   DLFileVersion dlFileVersion2)
Specified by:
compare in interface Comparator<DLFileVersion>

isAscending

public boolean isAscending()

Liferay 6.2-ce-ga5