Class Difference
- java.lang.Object
- 
- org.apache.tools.ant.ProjectComponent
- 
- org.apache.tools.ant.types.DataType
- 
- org.apache.tools.ant.types.resources.BaseResourceCollectionContainer
- 
- org.apache.tools.ant.types.resources.Difference
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable,- java.lang.Iterable<Resource>,- ResourceCollection
 
 public class Difference extends BaseResourceCollectionContainer ResourceCollection representing the difference between two or more nested ResourceCollections.- Since:
- Ant 1.7
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description Difference()
 - 
Method SummaryModifier and Type Method Description protected java.util.Collection<Resource>getCollection()Calculate the difference of the nested ResourceCollections.- 
Methods inherited from class org.apache.tools.ant.types.resources.BaseResourceCollectionContaineradd, addAll, clear, clone, dieOnCircularReference, getResourceCollections, isCache, isFilesystemOnly, iterator, setCache, size, toString
 - 
Methods inherited from class org.apache.tools.ant.types.DataTypecheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes
 - 
Methods inherited from class org.apache.tools.ant.ProjectComponentgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tools.ant.types.ResourceCollectionisEmpty, stream
 
- 
 
- 
- 
- 
Method Detail- 
getCollectionprotected java.util.Collection<Resource> getCollection() Calculate the difference of the nested ResourceCollections.- Specified by:
- getCollectionin class- BaseResourceCollectionContainer
- Returns:
- a Collection of Resources.
 
 
- 
 
-