com.google.common.collect.testing
Class DerivedTestIteratorGenerator<E>
java.lang.Object
com.google.common.collect.testing.DerivedTestIteratorGenerator<E>
- All Implemented Interfaces:
- DerivedGenerator, TestIteratorGenerator<E>
@GwtCompatible
public final class DerivedTestIteratorGenerator<E>
- extends Object
- implements TestIteratorGenerator<E>, DerivedGenerator
Adapts a test iterable generator to give a TestIteratorGenerator.
This class is GWT compatible.
- Author:
- George van den Driessche
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DerivedTestIteratorGenerator
public DerivedTestIteratorGenerator(TestSubjectGenerator<? extends Iterable<E>> collectionGenerator)
getInnerGenerator
public TestSubjectGenerator<? extends Iterable<E>> getInnerGenerator()
- Specified by:
getInnerGenerator
in interface DerivedGenerator
get
public Iterator<E> get()
- Specified by:
get
in interface TestIteratorGenerator<E>
Copyright © 2010-2012. All Rights Reserved.