Interface DerivedGenerator

All Known Implementing Classes:
DerivedCollectionGenerators.MapEntrySetGenerator, DerivedCollectionGenerators.MapKeySetGenerator, DerivedCollectionGenerators.MapSortedKeySetGenerator, DerivedCollectionGenerators.MapValueCollectionGenerator, DerivedGoogleCollectionGenerators.BiMapValueSetGenerator, DerivedGoogleCollectionGenerators.InverseBiMapGenerator, DerivedGoogleCollectionGenerators.MapGenerator, DerivedTestIteratorGenerator, MultimapTestSuiteBuilder.AsMapGenerator, MultimapTestSuiteBuilder.EntriesGenerator, MultimapTestSuiteBuilder.KeysGenerator, SetMultimapTestSuiteBuilder.EntriesGenerator

public interface DerivedGenerator
A generator that relies on a preexisting generator for most of its work. For example, a derived iterator generator may delegate the work of creating the underlying collection to an inner collection generator.

GwtTestSuiteGenerator expects every DerivedIterator implementation to provide a one-arg constructor accepting its inner generator as an argument. This requirement enables it to generate source code (since GWT cannot use reflection to generate the suites).