Javadoc.ResourceCollectionContainer (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.taskdefs, class: Javadoc, class: ResourceCollectionContainer

# Class Javadoc.ResourceCollectionContainer

java.lang.Object
org.apache.tools.ant.taskdefs.Javadoc.ResourceCollectionContainer

All Implemented Interfaces:
  `Iterable<ResourceCollection>`

Enclosing class:
  `Javadoc`

public class Javadoc.ResourceCollectionContainer extends Object implements Iterable<ResourceCollection>
Holds a collection of ResourceCollections.

A separate kind of container is needed since this task contains special handling for FileSets that has to occur at task runtime.

Since:
  Ant 1.1

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResourceCollectionContainer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(ResourceCollection rc)`
  Add a resource collection to the container.
  `Iterator<ResourceCollection>`
  `iterator()`
  Get an iterator on the collection.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Iterable

  `forEach, spliterator`

- ## Constructor Details

  - ### ResourceCollectionContainer

    public ResourceCollectionContainer()

- ## Method Details

  - ### add

    public void add(ResourceCollection rc)
    Add a resource collection to the container.
    Parameters:
      `rc` - the collection to add.

  - ### iterator

    public Iterator<ResourceCollection> iterator()
    Get an iterator on the collection.
    Specified by:
      `iterator` in interface `Iterable<ResourceCollection>`
    Returns:
      an iterator.