org.specrunner.report.core
Class TimeComparator
java.lang.Object
org.specrunner.report.core.TimeComparator
- All Implemented Interfaces:
- Comparator<Resume>
public final class TimeComparator
- extends Object
- implements Comparator<Resume>
Default report time comparator.
Ordered by: time (countdown), index.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static TimeComparator get()
- The instance access method.
- Returns:
- The comparator.
compare
public int compare(Resume o1,
Resume o2)
- Specified by:
compare in interface Comparator<Resume>
Copyright © 2014. All rights reserved.