Top Description Constructors Methods
org.apache.tools.ant.types.resources

public Class Intersect

extends BaseResourceCollectionContainer
Class Inheritance
Imports
java.util.Collection, .Iterator, .LinkedHashSet, .List, .Set, java.util.function.Function, java.util.stream.Collectors, org.apache.tools.ant.BuildException, org.apache.tools.ant.types.Resource, .ResourceCollection

ResourceCollection representing the intersection of multiple nested ResourceCollections.
Since
Ant 1.7

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Collection<Resource>

Returns:

a Collection of Resources.
getCollection
()

Implements abstract org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.getCollection.

Calculate the intersection of the nested ResourceCollections.
Inherited from org.apache.tools.ant.types.resources.BaseResourceCollectionContainer:
addaddAllclearclonedieOnCircularReferencegetResourceCollectionsisCacheisFilesystemOnlyiteratorsetCachesizetoString

Constructor Detail

Intersectback to summary
public Intersect()

Method Detail

getCollectionback to summary
protected Collection<Resource> getCollection()

Implements abstract org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.getCollection.

Calculate the intersection of the nested ResourceCollections.

Returns:Collection<Resource>

a Collection of Resources.

Annotations
@Override