com.stratelia.silverpeas.contentManager
Class GSCCreationDateComparatorDesc
java.lang.Object
com.stratelia.silverpeas.contentManager.GSCCreationDateComparatorDesc
- All Implemented Interfaces:
- Comparator<GlobalSilverContent>
public class GSCCreationDateComparatorDesc
- extends Object
- implements Comparator<GlobalSilverContent>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comparator
public static final GSCCreationDateComparatorDesc comparator
GSCCreationDateComparatorDesc
public GSCCreationDateComparatorDesc()
compare
public int compare(GlobalSilverContent gsc1,
GlobalSilverContent gsc2)
- This result is reversed as we want a descending sort.
- Specified by:
compare
in interface Comparator<GlobalSilverContent>
- Parameters:
gsc1
- gsc2
-
- Returns:
Copyright © 2016 Silverpeas. All Rights Reserved.