Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » modules » [javadoc | source]
org.jfree.report.modules
public final class: PackageSorter [javadoc | source]
java.lang.Object
   org.jfree.report.modules.PackageSorter
Compares two modules for order. A module is considered less than an other module if the module is a required module of the compared module. Modules are considered equal if they have no relation.

When sorting, we match this modules position against all dependent modules until all positions are stable. Circular references are evil and are filtered during the module loading process in the package manager.

This class has been moved into JCommon and will be removed in version 0.8.5.

Method from org.jfree.report.modules.PackageSorter Summary:
sort
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.PackageSorter Detail:
 public static  void sort(List modules) 
    Sorts the given list of package states. ToDo: The algorithm used is simple and not optimized, we could write something better in a near future.