Package spoon.support.comparator
Class FixedOrderBasedOnFileNameCompilationUnitComparator
java.lang.Object
spoon.support.comparator.FixedOrderBasedOnFileNameCompilationUnitComparator
- All Implemented Interfaces:
Comparator<org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration>
public class FixedOrderBasedOnFileNameCompilationUnitComparator
extends Object
implements Comparator<org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration o1, org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration o2)
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
FixedOrderBasedOnFileNameCompilationUnitComparator
public FixedOrderBasedOnFileNameCompilationUnitComparator()
-
-
Method Details
-
compare
public int compare(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration o1, org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration o2)- Specified by:
compare
in interfaceComparator<org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration>
-