public class Sort extends BaseResourceCollectionWrapper
description, location, project
Constructor and Description |
---|
Sort() |
Modifier and Type | Method and Description |
---|---|
void |
add(ResourceComparator c)
Add a ResourceComparator to this Sort ResourceCollection.
|
protected void |
dieOnCircularReference(java.util.Stack stk,
Project p)
Overrides the BaseResourceCollectionContainer version
to recurse on nested ResourceComparators.
|
protected java.util.Collection |
getCollection()
Sort the contained elements.
|
createIterator, getSize
add, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, size, toString
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
protected java.util.Collection getCollection()
getCollection
in class BaseResourceCollectionWrapper
public void add(ResourceComparator c)
c
- the ResourceComparator to add.protected void dieOnCircularReference(java.util.Stack stk, Project p) throws BuildException
dieOnCircularReference
in class AbstractResourceCollectionWrapper
stk
- the stack of data types to use (recursively).p
- the project to use to dereference the references.BuildException
- on error.