Class Intersect
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.Intersect
- All Implemented Interfaces:
Cloneable, Iterable<Resource>, ResourceCollection, AppendableResourceCollection
ResourceCollection representing the intersection
of multiple nested ResourceCollections.
- Since:
- Ant 1.7
-
Field Summary
Fields inherited from class ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<Resource> Calculate the intersection of the nested ResourceCollections.Methods inherited from class BaseResourceCollectionContainer
add, addAll, clear, clone, dieOnCircularReference, getResourceCollections, isCache, isFilesystemOnly, iterator, setCache, size, toStringMethods inherited from class DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributesMethods inherited from class ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface ResourceCollection
isEmpty, stream
-
Constructor Details
-
Intersect
public Intersect()
-
-
Method Details
-
getCollection
Calculate the intersection of the nested ResourceCollections.- Specified by:
getCollectionin classBaseResourceCollectionContainer- Returns:
- a Collection of Resources.
-