org.pentaho.platform.engine.services.solution
Class SolutionCompare
java.lang.Object
org.pentaho.platform.engine.services.solution.SolutionCompare
- All Implemented Interfaces:
- Comparator
public class SolutionCompare
- extends Object
- implements Comparator
Class that compares solution paths used for sorting. It takes into account the path depth
and sorts the parent directories before than the children.
- Author:
- dmoran
SolutionCompare
public SolutionCompare()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator