org.apache.tools.ant.types.resources.comparators
public class DelegatedResourceComparator extends ResourceComparator
Since: Ant 1.7
Method Summary | |
---|---|
void | add(ResourceComparator c)
Add a delegate ResourceComparator. |
protected void | dieOnCircularReference(Stack stk, Project p)
Overrides the version from DataType to recurse on nested ResourceSelector
s. |
boolean | equals(Object o)
Equality method based on the vector of resources,
or if a reference, the referredto object. |
int | hashCode()
Hashcode based on the rules for equality. |
protected int | resourceCompare(Resource foo, Resource bar) |
Parameters: c the next delegate ResourceComparator.
Parameters: stk the Stack of references. p the Project to resolve against.
Throws: BuildException on error.
Parameters: o the object to check against.
Returns: true if there is equality.
Returns: a hashcode.