info.magnolia.cms.util
Class AbstractContentComparator

java.lang.Object
  extended by info.magnolia.cms.util.AbstractContentComparator
All Implemented Interfaces:
Comparator

Deprecated. since 4.2 - now irrelevant since using generics, implement Comparator instead of extending this.

public abstract class AbstractContentComparator
extends Object
implements Comparator

Abstract Comparator use to compares nodes (for sorting etc.).

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

Constructor Summary
AbstractContentComparator()
          Deprecated.  
 
Method Summary
protected abstract  int compare(Content c1, Content c2)
          Deprecated.  
 int compare(Object o1, Object o2)
          Deprecated.  
 
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

AbstractContentComparator

public AbstractContentComparator()
Deprecated. 
Method Detail

compare

public int compare(Object o1,
                   Object o2)
            throws ClassCastException
Deprecated. 
Specified by:
compare in interface Comparator
Throws:
ClassCastException

compare

protected abstract int compare(Content c1,
                               Content c2)
Deprecated. 


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.