org.apache.tools.ant.types.resources.comparators
public class Reverse extends ResourceComparator
Since: Ant 1.7
| Constructor Summary | |
|---|---|
| Reverse()
Default constructor. | |
| Reverse(ResourceComparator c)
Construct a new Reverse, supplying the ResourceComparator to be reversed. | |
| Method Summary | |
|---|---|
| void | add(ResourceComparator c)
Add the ResourceComparator to reverse. |
| protected int | resourceCompare(Resource foo, Resource bar)
Compare two Resources. |
Parameters: c the ResourceComparator to reverse.
Parameters: c the ResourceComparator to add.
Parameters: foo the first Resource. bar the second Resource.
Returns: a negative integer, zero, or a positive integer as the first argument is greater than, equal to, or less than the second.