org.apache.lenya.cms.site
Class AbstractSiteManager.NodeComparator

java.lang.Object
  extended by org.apache.lenya.cms.site.AbstractSiteManager.NodeComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
AbstractSiteManager

public class AbstractSiteManager.NodeComparator
extends java.lang.Object
implements java.util.Comparator

Compares nodes according to the dependence relation.


Constructor Summary
AbstractSiteManager.NodeComparator(DocumentFactory map)
          Ctor.
 
Method Summary
 int compare(java.lang.Object arg0, java.lang.Object arg1)
           
 
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

AbstractSiteManager.NodeComparator

public AbstractSiteManager.NodeComparator(DocumentFactory map)
Ctor.

Parameters:
map - The identity map to operate on.
Method Detail

compare

public int compare(java.lang.Object arg0,
                   java.lang.Object arg1)
Specified by:
compare in interface java.util.Comparator
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.