org.squashtest.csp.tm.domain.testcase
Class TestCaseImportanceLevelComparator
java.lang.Object
org.squashtest.csp.tm.domain.testcase.TestCaseImportanceLevelComparator
- All Implemented Interfaces:
- Comparator<TestCaseImportance>
@Component(value="squashtest.tm.domain.TestCaseImportanceLevelComparator")
public class TestCaseImportanceLevelComparator
- extends Object
- implements Comparator<TestCaseImportance>
Compares 2 TestCaseImportance using their TestCaseImportance.getLevel() property. The smaller the
level, the higher the importance.
- Author:
- Gregory Fouquet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestCaseImportanceLevelComparator
public TestCaseImportanceLevelComparator()
compare
public int compare(TestCaseImportance o1,
TestCaseImportance o2)
- (non-Javadoc)
- Specified by:
compare in interface Comparator<TestCaseImportance>
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.