java.lang.Cloneable, java.util.Comparator<Resource>public class DelegatedResourceComparator extends ResourceComparator
description, location, project| Constructor | Description |
|---|---|
DelegatedResourceComparator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(ResourceComparator c) |
Add a delegate ResourceComparator.
|
protected void |
dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
Project p) |
Overrides the version from DataType to recurse on nested ResourceSelector
s.
|
boolean |
equals(java.lang.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) |
Compare two Resources.
|
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongcheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectcompare, getCheckedRefpublic void add(ResourceComparator c)
c - the next delegate ResourceComparator.public boolean equals(java.lang.Object o)
equals in interface java.util.Comparator<Resource>equals in class ResourceComparatoro - the object to check against.public int hashCode()
hashCode in class ResourceComparatorprotected int resourceCompare(Resource foo, Resource bar)
resourceCompare in class ResourceComparatorfoo - the first Resource.bar - the second Resource.protected void dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
Project p)
throws BuildException
dieOnCircularReference in class DataTypestk - the Stack of references.p - the Project to resolve against.BuildException - on error.