info.magnolia.cms.util
Class AbstractContentComparator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContentComparator
public AbstractContentComparator()
- Deprecated.
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-2012 Magnolia International Ltd.. All Rights Reserved.