info.magnolia.cms.util
Class CreationDateComparator

java.lang.Object
  extended by info.magnolia.cms.util.CreationDateComparator
All Implemented Interfaces:
Comparator<Content>

public class CreationDateComparator
extends Object
implements Comparator<Content>

Compares the creation date of 2 nodes. (using MetaData)

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Constructor Summary
CreationDateComparator()
           
 
Method Summary
 int compare(Content c1, Content c2)
           
 
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

CreationDateComparator

public CreationDateComparator()
Method Detail

compare

public int compare(Content c1,
                   Content c2)
Specified by:
compare in interface Comparator<Content>


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.