com.rubecula.darwin.core
Interface CensusibleCollection

All Known Subinterfaces:
Population
All Known Implementing Classes:
Population_Abstract, Population_Default, Population_TS

public interface CensusibleCollection

Defines how to census an object which is a collection of parts.

Author:
Robin Hillyard

Method Summary
 void enumerateCollection(Census censusTaker, PrintWriter writer)
          Method to cycle through every object "owned" by this object, and apply the individual census taker method to it.
 

Method Detail

enumerateCollection

void enumerateCollection(Census censusTaker,
                         PrintWriter writer)
Method to cycle through every object "owned" by this object, and apply the individual census taker method to it.

Parameters:
censusTaker -
writer - the PrintWriter which will accept the census results.
Throws:
IOException