com.lazerycode.jmeter
Class IncludesComparator
java.lang.Object
com.lazerycode.jmeter.IncludesComparator
- All Implemented Interfaces:
- Comparator<String>
public class IncludesComparator
- extends Object
- implements Comparator<String>
Compare filenames based on their order in a list of includes (using default
ant include pattern).
Method Summary |
int |
compare(String s1,
String s2)
Compares two filenames based on the index of the first include pattern
that matches them in the given list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncludesComparator
public IncludesComparator(List<String> includes)
compare
public int compare(String s1,
String s2)
- Compares two filenames based on the index of the first include pattern
that matches them in the given list. If the index is equal, the actual
filename lexicographical order is used to ensure a total order.
- Specified by:
compare
in interface Comparator<String>
Copyright © 2012. All Rights Reserved.